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");
}
North America
Europe, Middle East and Africa
Asia Pacific