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)
SoftwareApache Flex

Avatar of undefined
Last Comment
nphoenix

8/22/2022 - Mon
Gary Benade

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
lexxwern

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
nphoenix

ASKER
Thank you so much for responding.  I finally got back to this problem!
Your help has saved me hundreds of hours of internet surfing.
fblack61