AddChild Using HTML5 Canvas In Animate 2020
I'm trying to add a movie clip from the library when I click a button on the stage. When I test the movie, I get no reponse when I click the button. Here's the code I'm using. The movie clip I'm trying to add is called "bluBox".
var fl_MyInstance = new lib.bluBox();
this.addButton.addEventListener("click", fl_MouseClickHandler.bind(this));
function fl_MouseClickHandler()
{
this.addChild(fl_MyInstance);
}
Thanks

