Monday, 17 May 2010

Changing how the user can arrange the stickers

Originally the user couldn't place stickers on top of other stickers and some went on top of others and some went underneath eachother. I have decided to make it so the user can place stickers on top of eachother so on each sticker I put the following actionscript:
this.swapDepths(_root.getNextHighestDepth() )

This means that it swaps places with the object they want to put the sticker on top of making sure that it is the sticker that is always on the top.

The actionscript on each sticker now is:

No comments:

Post a Comment

Followers