2 Replies Latest reply on May 9, 2012 3:57 AM by Morph89

    CS6 Toolkit for Create JS - AS3 to Javascript?

    CEItim Level 1

      Hi all, I'm pretty new to learning Javascript and am trying to work with the new plugin that allows for JS exporting. I've seen the videos on Adobe TV  and it seems like we are suppposed to stick to simple JS code that manipulates the timeline.

       

      A simple this.gotoAndPlay("start") works fine in JS, but how do you add an event listener for a mouse click of a button in JS? Adobe should put together a tutorial or something for those of us familiar with AS3 trying to use their new JS plugin.

       

      I've tried doing:

       

      instanceName.onClick = function() {

      this.gotoAndPlay("start");

      }