-
-
instead of
write
Actionscript Code:
this.gotoAndStop("explosion");
Inside the ship movieclip add a keyframe with a stop(). Give it the label explosion.
On that labelled keyframe place a movieclip that will contain the explosion animation. At the end of that animation - ie, on that animation movieclip's last keyframe - write this:
Actionscript Code:
_root.gotoAndStop("gameover");
"gameover" being a label on the main timeline (different scene or not, doesn't make any difference)
gparis
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|