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)
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)
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Thank you so much for responding. I finally got back to this problem!
var s:SWFLoader = new SWFLoader();
s.percentWidth = 100;
s.percentHeight = 100;
s.load("yourApp.swf");
addChild(s);