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 Flash components development. Usability services. > --------- Gaia-Tek wrote: > I'm having a problem with a seemingly simple task... > > I'm trying to get whichever movieclip on my stage is clicked on, to > swapDepths to the top, and be draggable... > > My code is: > > on (press) { > this.swapDepths(this.getNextHighestDepth()); > startDrag(this); > } > on (release) { > stopDrag(); > } > > Not working... > > Any help would be appreciated... > > Thanks > > Don _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

