Oop, turns out it had nothing to do with flex. It was crashing because I used the "stage" handle in the constructor of my Document class, which apparently isn't available to externally downloaded content, and I got a null reference exception.
So what are the rules for when the stage is available to externally loaded content? Max Kaufmann l Technical Artist --------------------------------------------------------------------- 2105 Sarah St | Pittsburgh, PA 15203 O (412) 567-4606 W www.silvertreemedia.com C (440) 915-8277 E [EMAIL PROTECTED] -----Original Message----- From: Max Kaufmann [mailto:[EMAIL PROTECTED] Sent: Friday, June 15, 2007 11:34 AM To: '[email protected]' Subject: loading CS3 swf into flex swf container I need to work around the fact that MDM Zincs AS3 support SWC is only flex compatible, not CS3. Ive been trying to use the Loader() class to load a swf generated in flash CS3 into a container swf generated by the flex command-line compiler. For a simple SWF this worked, but for a complex one with lots of script it wigs out. Ive logged out all the events that loader.contentLoaderInfo() broadcasts, and its not an ioError, nor is it a securityError. The progress event shows that all the bytes get loaded, but the complete or init events are never broadcast and loader.content is never available. Has anyone else run into this weird problem? Max Kaufmann l Technical Artist --------------------------------------------------------------------- 2105 Sarah St | Pittsburgh, PA 15203 O (412) 567-4606 W www.silvertreemedia.com C (440) 915-8277 E [EMAIL PROTECTED] _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

