You can implement your own IDGenetator - A pool of IDs. Allocate the depths to the movieclips from your own pool of IDs.
Regards, GAURAV KAUSHAL -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kannan Bharadwaj Sent: Wednesday, June 27, 2007 12:16 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] How can I keep some MovieClips always on top? I need to maintain certain movieclips always on top. I have been using getNextHighestDepth() in creating these movieclips. One option is to specify the depth for these alone to be very close at the point of their creation. However, am not sure if mixing getNextHighestDepth() for some MCs and hard coding for some others is the best way to do this. Appreciate if anyone can suggest a better way.. Thanks Kannan ------------------------------------------------------------------------ ---- -------- Kannan Bharadwaj SolutionSpace Email: [EMAIL PROTECTED] URL: www.solution-space.net _______________________________________________ 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