Search tutorials
To begin create a new flash document. Make a button that looks like a key. In its actions panel put this:
on (release) {key1 = "yes"
}
Now put a stop action in the first frame. Make a dynamic textbox offscreen with the var: "key1" Then make a button that looks like a door. Put this in its actions panel:
on (release) {if (key1 == "yes") gotoAndPlay(2);
}
Now make a second frame telling the user that they have won. And put a stop action in it.
Well that's it. This tutorial even works when the buttons and the textboxes are scattered in different frames.
| » Level Intermediate |
|
Added: 2005-10-12 Rating: 3 Votes: 16 |
| » Author |
| I'm just a guy who likes makin games |
| » Download |
| Download the files used in this tutorial. |
| Download (0 kb) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


Comments
There are no comments yet. Be the first to comment!