RE: [Flashcoders] How can I keep some MovieClips always on top?
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
RE: [Flashcoders] Movie Clip Loaded or not
Hi sumeet, You can put the check through onLoad Handler of movie clip. mc.onLoad = doOnLoad; function doOnLoad() { clearInterval (id) } Regards, Gaurav Kaushal. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sumeet Kumar Sent: Thursday, December 22, 2005 3:53 PM To: Flashcoders mailing list Subject: [Flashcoders] Movie Clip Loaded or not Hi All I m using loadMovie Command to load a image in an empty Movieclip. but how to check whether the image is loaded or not. i.e mc.loadMovie ("image.jpg") id = setInterval(fnCheckUploading,1) fnCheckUploading =function () { if (mc._width>2){ clearInterval (id) } } Now in my case the width of the image can be even 1 pixel. So any one please guide me how to put a check. Regards Sumeet Kumar ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders