One way to do it is
<mx:String id="mytext" source="mytext.txt"/>
<mx:TextArea text="{mytext}"/>
Gordon Smith
Adobe Flex SDK Team
________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Max Hay
Sent: Friday, April 11, 2008 2:55 PM
To: Flexcoders Yahoo
Subject: [flexcoders] Embed text file asset
Hi people.
I would like to populate a TextArea from a text file held as an embedded
asset.
Can this be done?
How do I embed the text file?
How do I load the content into the TextArea?
Max.