Skip navigation
Currently Being Moderated

CS6 Toolkit for Create JS - AS3 to Javascript?

May 8, 2012 10:50 AM

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

}



 
Replies

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points