Works like a charm. Thanks.
Lane.
-Original Message-
From: Alex Harui
Sent: Thursday, September 29, 2016 6:39 PM
To: users@flex.apache.org
Subject: Re: Load External File
For FlexJS, HTTPService has a send() method. You would set the url
property before calling send().
HTH
For FlexJS, HTTPService has a send() method. You would set the url
property before calling send().
HTH,
-Alex
On 9/29/16, 1:23 AM, "Lane" wrote:
>I'm wanting to load an external file, as in:
>
>var myTextLoader:URLLoader = new URLLoader();
>
You can use FileReference[1] to load a file. Browse for the file, load it.
Once the complete event is dispatched you should be able to use the "data"
property to access the file data.
If you need to you can convert the ByteArray to string just by casting it.
[1]