Link to home
Start Free TrialLog in
Avatar of nphoenix
nphoenix

asked on

SWF load or jump to another Flex swf or loadmovie

We would like to make two projects in Flex , 1) Project Container which is a swf that we compile as a Zinc EXE which would contain the MDM Zinc libraries etc  2) The second Project would be the real Flex application SWF with screen display, interactions etc.

This question may not be specific to Zinc ,  how can we in Flex to a Flash like load movie of a seperate flex compliled swf?

The goal of this is to continue working in flex where we can generate a SWF readilly - but not have to revisit the Zinc generated exe with every test (we use zinc libraries for file open/save)
Avatar of Gary Benade
Gary Benade
Flag of South Africa image

In your container app load the other app with a SWFLoader:

                        var s:SWFLoader = new SWFLoader();
                        s.percentWidth = 100;
                        s.percentHeight = 100;
                        s.load("yourApp.swf");
                        addChild(s);
ASKER CERTIFIED SOLUTION
Avatar of lexxwern
lexxwern
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nphoenix
nphoenix

ASKER

Thank you so much for responding.  I finally got back to this problem!