I have a Flash app made up of AS3 components that I am trying to run in Flex.
In Flash, after the main component is added to the stage, the loader object (loaderInfo.loader) is null which is fine and I handle that.
The same exact code in Flex has different results. On the applicationComplete event I add the the main component to the stage and the loader object’s getter throws an exception - Error #2099: The loading object is not sufficiently loaded to provide this information.
Also, the INIT event, which is supposed to be dispatched when the properties and methods of a loaded SWF file are accessible, does not appear to be firing which is probably part of the problem. But I can’t figure out why it is not being dispatched.
Any ideas?
Thanks!
Chris