-
Dress Up Game Reset Button - AS 2
Hi there!
I'm a complete flash newbie, but I wanted to try and make a dress up game with the help of some great tutorials on Deviantart.
One thing I didn't find there that I really wanted was a code for a reset button so that I can press it and all of the clothes go back to original locations.
I tried creating a new frame for all the layers on the timeline, giving one of them the stop(); function, and then adding this code to a button:
on(release) {
_root.gotoAndPlay(1);
}
Now all that happens when I click the button is it goes back to the original frame (only the doll and buttons viewable), but when I click on one of my buttons to get to a certain section of my clothing, it just shows the items I'd tried to reset still on the doll.
Sorry if this is totally newbie and stupid, but I have no idea. x__x;
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
|