Posted By

sebastianassaf on 09/01/08


Tagged

function button as3


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

THEPWN3R


Oman3D - Simple gotoAndStop button function


 / Published in: ActionScript 3
 

URL: http://www.oman3d.com/tutorials/flash/basicwebsite/

button function to jump to labeled frame.

  1. function functionName (e:MouseEvent):void{
  2. gotoAndStop("lableName");
  3. }
  4. instanceName.addEventListener(MouseEvent.CLICK, functionName);

Report this snippet  

You need to login to post a comment.