Flash Cc Html5 Ought To Be Simple Gotoandplay
I'm creating an Javascript/HTML5-game in Flash CC. I have an Info-screen with a button. This Infoscreen is a movieclip from the library with a linkname 'CloseBtn'. The following sc
Solution 1:
Problem solved!
The solution is the keyword "this" before the button when assigning the eventListener. Took me about 8 hours of frustrated code analysis to find out.
this.closeBtn.addEventListener("click", function (event)
{
this.gotoAndPlay(9);
});
Post a Comment for "Flash Cc Html5 Ought To Be Simple Gotoandplay"