5 Replies Latest reply on Jun 22, 2015 10:32 AM by kglad

    Need Help converting AS3 to Java

    Carrie.Anderson

      Hi to anyone that can help. I have finally learned action script 3 and now the company wants the flash eLearning courses to be in flash canvas, and I found out that the AS3 is not working. It's a simple button code that is a click to continue.

       

      Here is my AS3 code for the red buttons:

       

       

      import flash.events.MouseEvent;

       

       

      stop();

       

       

      Red_btn.addEventListener(MouseEvent.CLICK, Red_btn_onMouseClick);

      function Red_btn_onMouseClick(e:MouseEvent):void

      {

        play();