Although you can put mc's in depths higher than 1048575, you cannot remove them, just like negative depths, so you have to use that as the ceiling.
----- Original Message ----- From: "Scott Hyndman" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com> Sent: Thursday, February 09, 2006 4:40 PM Subject: RE: [FlashCoders] textfield swapDepths >> if ( theD > -1 && theD < 1048576) Is there ever a case where "theD" would be higher that -1 and not lower than 1048576? Seems to me the extra comparison isn't even necessary. Scott _______________________________________________ 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 _______________________________________________ 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