flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfb <j.ballada...@verizon.net>
Subject Help with modules
Date Thu, 23 Apr 2015 21:59:23 GMT
Hi All,
Trying to organize an app in flex 3 before migrate to the new SDK. I have an
issue:
I have a module as:

private function loadModuleToStage(moduleName:String):void{
	msgBdLoader.unloadModule();
	msgBdLoader.url = Global.appURL + moduleName+'?_ts='+ new Date().getTime();
	msgBdLoader.loadModule();
}

<mx:State name="MSGBoardView">
			<mx:AddChild position="lastChild" relativeTo="{body}">
					<mx:ModuleLoader label="Message" id="myLoader" width="100%"
height="100%" cachePolicy="off" cacheAsBitmap="false"/>
			</mx:AddChild>
		</mx:State>
It loads ok for pages that use mx:Module, but I want to load an external
application movie (swf file) and load into the module place. How can I do
this?
Thanks in advanced.





--
View this message in context: http://apache-flex-users.2333346.n4.nabble.com/Help-with-modules-tp10161.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Mime
View raw message