This content has been marked as final. Show 4 replies
Look at the API for URLLoader
Do you mean that I need to use a URLLoader even though the xml are stored in the file?
Ah, no. Misread your post. Didn't see 'inside the mxml file'. You could use a Model tag
NO, DO NOT USE THE MODEL TAG! that converts your lovely XML into a hideous tree of dynamic Objects. Do not do that.
Your problem is simply that you forgot to call the init() function. Call it from the creationComplete event on the Application tag and you will be fine.