I have several buttons on the stage, but because they all overlap, I need which even one you mouseover to change it's depth so that it is on top.
I tried doing something like:
... but it doesn't seem to have the required effect. And the trace outputs a figure like "-16375".Code:on (rollOver) { trace(_this.getDepth()); _this.swapDepths(1); }



Reply With Quote