RE: [Flashcoders] Help with swapdepths

2006-04-12 Thread Steven Sacks
Also, don't use "on-clip" methods like on (press) or on(release) That's for non-coders who are making banner ads. Instead, put your code in the timeline: btn.onPress = function() { // }; btn.onRelease = function() { // }; You'll thank me for it down the line. It's never a goo

Re: [Flashcoders] Help with swapdepths

2006-04-12 Thread Gaia-Tek
I'll try it, thanks a lot... GregoryN wrote: Maybe you should try: this.swapDepths(this._parent.getNextHighestDepth()); OR this.swapDepths(_root.getNextHighestDepth()); instead of this.swapDepths(this.getNextHighestDepth()); ? ___ Flas

Re: [Flashcoders] Help with swapdepths

2006-04-12 Thread GregoryN
Maybe you should try: this.swapDepths(this._parent.getNextHighestDepth()); OR this.swapDepths(_root.getNextHighestDepth()); instead of this.swapDepths(this.getNextHighestDepth()); ? -- Best regards, GregoryN http://GOusable.com F