This content has been marked as final. Show 5 replies
because your movieclips have an alpha < 100?.
no, that wouldn't do it. post a link to your fla.
this in your onPress handlers is refering to the movieclip being pressed. because none of them have any children this.getNextHighestDepth() is always 0 for all of your movieclips.
so, you're swapping the depth of the pressed card with the previously pressed card. ie, they both change depths.
to do what you probably want, use:
Thanks for your help. This was exactly what I needed to make the code work properly. I'm still trying to clarify in my mind how everything works, and it's getting better! Cheers!