>
> var bitmap:Bitmap = new
> Bitmap(Bitmap(loader.content).bitmapData.clone(),"auto", true);
> Bitmap(loader.content).bitmapData.dispose();
> loader.unloadAndStop(true);
> try {
> loader.close();
> } catch (e:Error) {}
> // remove all event listeners from loader
>
Steven,
I'm curious about the try-catch block. It seems unnecessary since,
presumably, this code would be called within an onLoadComplete function and
the URLStream would no longer be open. Is there a scenario where this would
not be the case?
Regards,
Keith Reinfeld
Home Page: http://keithreinfeld.home.comcast.net
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders