Oman3D - Simple gotoAndStop button function

/ Published in: ActionScript 3
Save to your folder(s)

button function to jump to labeled frame.

Copy this code and paste it in your HTML
  1. function functionName (e:MouseEvent):void{
  2. gotoAndStop("lableName");
  3. }
  4. instanceName.addEventListener(MouseEvent.CLICK, functionName);


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.