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

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.