Re: [FlashCoders] remove BitmapData

2006-03-17 Thread Dimitrios Bendilas
coders mailing list" Sent: Wednesday, March 15, 2006 11:16 PM Subject: Re: [FlashCoders] remove BitmapData There is no getDepth() method for bitmapData Objects. What's the problem with keeping a refrence to your bitmapData Objects? I would argue that it's better practice to refrence them a

Re: [FlashCoders] remove BitmapData

2006-03-15 Thread elibol
from the movieclip... > > Dimitrios > > > - Original Message - > From: "Johannes Nel" <[EMAIL PROTECTED]> > To: "Flashcoders mailing list" > Sent: Wednesday, March 15, 2006 9:46 PM > Subject: Re: [FlashCoders] remove BitmapData > > > for

Re: [FlashCoders] remove BitmapData

2006-03-15 Thread Johannes Nel
Flashcoders mailing list" > Sent: Wednesday, March 15, 2006 9:46 PM > Subject: Re: [FlashCoders] remove BitmapData > > > for (var e in clip) > { > if(clip[e] instanceof BitmapDAta) > { > clip[e].dispose(); > } > } > i think that could work. > > On

Re: [FlashCoders] remove BitmapData

2006-03-15 Thread Dimitrios Bendilas
t" Sent: Wednesday, March 15, 2006 9:46 PM Subject: Re: [FlashCoders] remove BitmapData for (var e in clip) { if(clip[e] instanceof BitmapDAta) { clip[e].dispose(); } } i think that could work. On 3/15/06, Dimitrios Bendilas <[EMAIL PROTECTED]> wrote: "check if the obj

Re: [FlashCoders] remove BitmapData

2006-03-15 Thread Johannes Nel
exactly can you remove a bitmap data from a movieclip? > That's what I haven't figured out yet. > > Thanks, > Dimitrios > > > - Original Message - > From: "Johannes Nel" <[EMAIL PROTECTED]> > To: "Flashcoders mailing list" >

Re: [FlashCoders] remove BitmapData

2006-03-15 Thread Dimitrios Bendilas
AIL PROTECTED]> To: "Flashcoders mailing list" Sent: Wednesday, March 15, 2006 9:19 PM Subject: Re: [FlashCoders] remove BitmapData 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

Re: [FlashCoders] remove BitmapData

2006-03-15 Thread Johannes Nel
you, > Dimitrios > > - Original Message - > From: "Ryan Matsikas" <[EMAIL PROTECTED]> > To: "Flashcoders mailing list" > Sent: Wednesday, March 15, 2006 7:20 PM > Subject: Re: [FlashCoders] remove BitmapData > > > bmpdata.dispose() &g

Re: [FlashCoders] remove BitmapData

2006-03-15 Thread Dimitrios Bendilas
al Message - From: "Ryan Matsikas" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" 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 e

Re: [FlashCoders] remove BitmapData

2006-03-15 Thread Ryan Matsikas
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 t

[FlashCoders] remove BitmapData

2006-03-15 Thread Dimitrios Bendilas
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 _