strange swapDepths behaviour
... mhm today i experienced the following:
my new game has a cursor which is visible only during the game.
when you finish a level the playhead jumps to "LevelDone" where the cursor has NO frames (so the mc should be removed, along with it's events)
this worked fine UNTILL i needed the cursor to be over some generated tiles so i used swapDepths ... bad idea
i noticed that the cursor is not removed correctly from the stage - it is invisible or something else, 'cause when i now start a new level, the playhaid jumps to "Play" and the cursor appears on the stage again.
AND ALL THE F***ING EVENTS ARE FIRED TWICE !?
for testing reasons i added a mouseup to the cursor with nothing more than a trace inside.
when played for the first time, only one trace was executed, but when the second level started there where 2 and after the third 3 ...
i solved the problem by adding a container_mc ... so i don't have to bother anymore...
but the 2hours i needed to get behind this where wasted, damn!
just to let you know ...
<olli/>