I have a Loader Object that is childAdded to MovieClip Container, and each
time the application needs, the loader loads a different image in it.

.....

private var Photoldr:Loader = new Loader();

public function LoadPhoto():void {
   var PhotoPath:String = String(DataArray[0].LocationMapLink);
   var PhotoReq:URLRequest = new URLRequest(PhotoPath);
   Photoldr.load(PhotoReq);
}


where LoadPhoto is called from an outside Class.

Would this mean that the Loader Instance is overridden each time and frees
up memory? Or I should null the Photoldr and recreate it again?

thanks

-- 
Omar M. Fouad - Digital Emotions
http://www.omarfouad.net

This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be copied,
disclosed to, retained or used by, any other party. If you are not an
intended recipient then please promptly delete this e-mail and any
attachment and all copies and inform the sender. Thank you.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to