I have been using <mx:XML to load static data from an XML file: <mx:XML source="assets/setup.xml" format="e4x">
How can I do the same but using non XML data? I tried this: <mx:String source="testAS.as"> The file happens to have Action script code in it. But when the flex project is compiled I get compile errors from other parts of the mxml file. It appears to be trying to insert the data in testAS.as into the mxml file itself. It is still a problem if all the lines are commented out with //. It seems to dislike the line: //} What I am trying to do is to load some AS code as text to be displayed as text in my app. Thanks Andrew

