Question
Loading a compiled Flex swf with the loader class
I'm not sure whether to post this in a flex forum or here,
but since the error is generated from AS3 code, I'll try it here.
When I try to load a compiled flex swf with the loader class I get the following error:
-- Error: Error #2136: The SWF file file:///D|/Documents/.../Test.swf contains invalid data.
As a test I tried 2 very basic programs:
-- See the actionscript code in the attached code...
As you can see I just load the swf without doing anything with it.
Here's the code for the loaded Flex swf:
-- see the flex code in the attached code
I've found very few threads about this error, and even less solutions...Does anyone know if it's even possible to load a Flex swf?
When I try to load a compiled flex swf with the loader class I get the following error:
-- Error: Error #2136: The SWF file file:///D|/Documents/.../Test.swf contains invalid data.
As a test I tried 2 very basic programs:
-- See the actionscript code in the attached code...
As you can see I just load the swf without doing anything with it.
Here's the code for the loaded Flex swf:
-- see the flex code in the attached code
I've found very few threads about this error, and even less solutions...Does anyone know if it's even possible to load a Flex swf?
