[code]
package
{
import flash.display.Loader;
import flash.display.Sprite;
import flash.events.Event;
import flash.net.URLLoader;
import flash.net.URLLoaderDataFormat;
import flash.net.URLRequest;
import flash.system.LoaderContext;
import flash.utils.ByteArray;

/**
* ...
* @author amyflash.com
*/
public class Main extends Sprite
{

public function Main():void
{
if (stage) init();
else addEventListener(Event.ADDED_TO_STAGE, init);
}
private var urlLoader:URLLoader = new URLLoader();
private var loader1:Loader = new Loader();
private var loader2:Loader = new Loader();
private function init(e:Event = null):void
{
removeEventListener(Event.ADDED_TO_STAGE, init);
// entry point
var _url:String = "http://127.0.0.1/test/bin/1.jpg";
urlLoader.dataFormat = URLLoaderDataFormat.BINARY;
var urlRequest:URLRequest = new URLRequest(_url);

urlLoader.load(urlRequest);
urlLoader.addEventListener(Event.COMPLETE, doShow);

}

private function doShow(_evt:Event):void
{
loader1.loadBytes(_evt.target.data);
loader1.contentLoaderInfo.addEventListener(Event.COMPLETE ,swfLoadComplete);
loader2.loadBytes(_evt.target.data);
loader2.contentLoaderInfo.addEventListener(Event.COMPLETE ,swfLoadComplete2);
}

private function swfLoadComplete(e:Event):void
{
addChild(loader1);
}

private function swfLoadComplete2(e:Event):void
{
addChild(loader2);
loader2.x = 100;
}
}

}
[/code]