3 Replies Latest reply on Jun 1, 2014 1:03 PM by w3r

    Cannot convert a simple movie clip targeting AS3 to HTML5 (Really new to HTML5 Flash CC)


      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); }


      I already tryed this:

      var _this = this;
      this.buttonOne.addEventListener("click", fl_ClickToGoToAndPlayAtFrame);
      function fl_ClickToGoToAndPlayAtFrame(event) { // Note: Types are not supported either.

      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!)