Hello all,
I use loader to load page source of a webpage
My code is:
private function load_page_source():void
{
var addsearch:String = patent_num_txt.text;
var request:URLRequest = new URLRequest("http://en.wikipedia.org/wiki/System");
loader.addEventListener(Event.COMPLETE, handleResponse);
loader.load(request);
}

// handle
private function handleResponse(event:Event):void
{
var temp:String = loader.data;
}

When I used hadleResponse function to handle Event butI only loaded a part of page source. Now I want to load all page source then how do I code?
Please help me!
Thanks,