I'm trying to create a menu for my game, it is a tile-based game, and it draws my tile game ontop of everything. So how can I make my menu layer be above the tile game?
I just want to set its depth so its above the tiles.
If you receive responses by email, I neglected to notice I was in the AS2 forum and provided an AS3 solution initially.
Okay, so if I used swapDepths()
how would that work?
If you look up swapDepths in the AS2 documentation (or even Google it) you will find the details of how it works explained as well as examples of how to use it. The documentation is one of the best tools you have available to you.
Since I don't know the details of what you are using, it might be something like this, though both pieces have to exist when it executes...