Flex apps must be loaded by a Loader that is on the display list. Flex Modules are more flexible
________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Austin Kottke Sent: Sunday, April 06, 2008 5:35 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Loading an SWF without adding it to a child Hi, Im trying to just load in an SWF without having to immediately add the loader to the main stage. What happens is that I get an error immediately even using the example from the flex 3 docs. [SWF] C:\swf.swf- 681,227 bytes after decompression initHandler: [Event type="init" bubbles=false cancelable=false eventPhase=2] httpStatusHandler: [HTTPStatusEvent type="httpStatus" bubbles=false cancelable=false eventPhase=2 status=0] completeHandler: [Event type="complete" bubbles=false cancelable=false eventPhase=2] [Fault] exception, information=TypeError: Error #1009: Cannot access a property or method of a null object reference. Fault, UIComponent.as:5043 5043 // code goes here The complete handler has 0 code in it, but the movie dies anyway simply because the loader is not added to the main stage. Is it possible to just in an SWF without having a container? - Austin