Please! Can a good soul convert this to HTML5? I tried everything! I need see where I'm wrong... This works flawless in as3, but everytime I tryed to convert it to js, it stops... Someone?! :/
buttonOne.addEventListener(MouseEvent.CLICK, fl_ClickToGoToAndPlayAtFrame);
function fl_ClickToGoToAndPlayAtFrame(event:MouseEvent):void
{ mc.gotoAndPlay(2); }
stop();
I already tryed this:
var _this = this;
this.buttonOne.addEventListener("click", fl_ClickToGoToAndPlayAtFrame);
function fl_ClickToGoToAndPlayAtFrame(event) { // Note: Types are not supported either.
_this.mc.gotoAndPlay(2);
}
It works in a empty fla, but not on the i'm working:
I just wanna to call the mc (with a effect) and at same time go to frame 348 and play... I'm uploading the original fla I'm working on... Please, help me to find what is wrong?
www.agenciacreh.com.br/downloads/home.fla (here the fla file!)
Thanks!