I have a DepthManager that will take care of this. It adds the .swapDepths() method to TextField and Button. More specifically, it replaces the MovieClip.removeMovie() and TextField.removeTextField() methods so that they work at whatever depth.
The DepthManager is self-instantiating, but you have to refer to is somewhere in your code or Flash won't include it when you publish. So instead of just doing an import (which doesn't force the class to be included) you can refer to it directly: var dmClass = xt.core.managers.DepthManager; These methods aren't dirty, they're just necessary to overcome some of Flash's shortcommings. See http://codext.com/code/6 Tyler _______________________________________________ Flashcoders@chattyfig.figleaf.com 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