Hi i have some images which i am calling inside movieclip externally through xml data, now i have total 16 frames inside that movieclip on i have action script 3 on each frame to load from xml data, so without going to complex coding i just want to know how to stop them to reload again and again so memory leak problem go away, Following is the code which i have on each frame.


var paramObj:Object = LoaderInfo(this.root.loaderInfo).parameters;//xml data calling

var imagepath= String(paramObj['one']);//xml data calling




var loader0:Loader= new Loader();
loader0.load(new URLRequest(imagepath));
addChild(loader0);

thanks for all your help