|
-
gotoAndPlay(1)
You've all heard this before, I'm really a newbie so please help with this super-simple movie.
I've banged my head for three days, tried AS2, AS3, many different pieces of code from posts on the web and I CAN NOT for the life of me figure out how to make my little two-frame movie go back to frame 1.
On the main timeline, in frame 1 I have ten images that look like vertical blinds. I made them all buttons with the image inside them movie clips. These buttons take you to other frames on the timeline, no problem.
What I want to do is be able to simply go back to frame 1. I created a new button named btn_back, put that on say, the image on frame 2 but nothing I've tried will allow that button to go back to frame 1. Just doesn't work.
Here is the latest simple AS2 code I'm trying:
stop();
btn_1.onRelease = function () {
gotoAndStop(2);
}
btn_back.onRelease = function () {
_root.gotoAndStop(1);
}
Why won't this work?
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
|