Use a loader to get some picture from [FONT=“Courier New”][COLOR=“DarkGreen”]http://localhost/one.jpg[/COLOR][/FONT], when it’s done, a [FONT=“Courier New”][COLOR=“DarkGreen”]addChild(loader);[/COLOR][/FONT] would make it on my stage.
then, think about to use the same loader instance to get some other pictures, eg: [FONT=“Courier New”][COLOR=“DarkGreen”]loader.load(new URLRequest(“http://localhost/another.jpg”);[/COLOR][/FONT]
with [FONT=“Courier New”][COLOR=“DarkGreen”]addChild(loader);[/COLOR][/FONT] it would ruin the first one.
Do I need to use [FONT=“Courier New”][COLOR=“DarkGreen”]loader = new Loader();[/COLOR][/FONT] for every time or one loader is just enough? So any good post to read about this? (loading multiple resources)