flexcoders  

[flexcoders] can one access mx.core.Container from within a SWFLoader

Stephen More
Wed, 20 May 2009 10:57:59 -0700

Lets say I have 2 compiled flex applications:
    main.swf <- contains a View Stack
    components.swf <- contains 2 mx.containers.Panel

within main.swf can one use SWFLoader ( or something else ) to add 1
of the panels from components.swf as a child of the view stack within
main.swf ?


I know this can easily be done outside of flex by using
flash.display.Loader on plain swf files.

When you boil it down, I am really trying to compile a
mx.containers.Panel into a reusable component. Can this be done ?

-Thanks
Steve More
  • [flexcoders] can one access mx.core.Container from within a SWFLoader Stephen More