PDA

View Full Version : Help with creating an exit in a tile-based flash mx game.


ttttt
07-21-2006, 07:06 PM
Well, the title says it all.
I'm creating a tile based game in flash mx but i can't find out any where how to make an exit for the player to go through which, when the character touches it, takes the player to a new flash movie (the new level).
I'm totally stuck.
Thanks,

_Aerospace_Eng_
07-21-2006, 07:13 PM
Just make a new symbol, this symbol being a button. Once created drag the instance of the button from your library to where you want it. Then in the actionscript for the button something like
on(release) {
loadMovie('yournewflash.swf');
}
or if its a different frame in the move you can use gotoAndPlay(framenumber) instead.

ttttt
07-21-2006, 07:15 PM
Thanks very much.
How do you find new topics so quickly?
Thanks again,

_Aerospace_Eng_
07-21-2006, 07:25 PM
I just go back to the main page after each post.