you could loop through the movieclip, check if the object you are encountering is an instance of bitmapdata and remove them. this could be done in reomvemoveiclip so you know when you remove a movieclip it will be sorted.
On 3/15/06, Dimitrios Bendilas <[EMAIL PROTECTED]> wrote: > > So that means I have to keep a reference of the BitmapData obj. > What if I have dozens of bitmaps I attach on a movieclip and I > don't want to keep references for all of them. > > Isn't there just a simple way to *clear* the movieclip at a specific > depth? > > Thank you, > Dimitrios > > ----- Original Message ----- > From: "Ryan Matsikas" <[EMAIL PROTECTED]> > To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com> > Sent: Wednesday, March 15, 2006 7:20 PM > Subject: Re: [FlashCoders] remove BitmapData > > > bmpdata.dispose() > > On 3/15/06, Dimitrios Bendilas <[EMAIL PROTECTED]> wrote: > > > > Hello everyone, > > > > How can I remove a bitmap that I have attached on a movieclip at a > certain > > depth? > > The only approach I was able to find was to attach another bitmap 1x1 > > transparent > > at the same depth, but I think this is a pretty stupid approach... > > > > Am I missing something? > > > > Thanks, > > Dimitrios > > _______________________________________________ > > 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 > > > > _______________________________________________ > 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 > -- j:pn http://www.lennel.org _______________________________________________ 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