http://www.kirupa.com/forum/showthread.php?p=1910480

Jonathan mentioned this before... you're goal isn't to set your text to
display what the loader is. Your goal is to display the content that is
loaded. In order to do that, you need to listen to the load event and get
the data out of there.

loader.addEventListener(Event.COMPLETE, stuffLoaded);
function stuffLoaded(event:Event):void 
{
    var myStuff = loader.data;
    //...
}


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Gustavo
Duenas
Sent: Tuesday, May 20, 2008 1:09 PM
To: Flash Coders List
Subject: Re: [Flashcoders] very easy question

ok, when I trace this instead of the text it shows [target.object]
it is a html xml formatted page, it is supposed to show in other way  
right?


regards,

guatvo
On May 20, 2008, at 3:48 PM, Eduardo Omine wrote:

> Try this:
>
> var loader:URLLoader = new URLLoader();
> loader.load(new
> URLRequest("http://leftandrightsolutions.com/txt/whoweare.txt";));
>
> -- 
> Eduardo Omine
> http://blog.omine.net/
> http://www.omine.net/
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>





_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to