Posted By

sebastianassaf on 09/01/08


function button as3

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Oman3D - Simple gotoAndStop button function

 / Published in: ActionScript 3


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.