flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: Help with modules
Date Fri, 24 Apr 2015 01:23:12 GMT
Not sure I understood the question.  Modules are essentially runtime
loadable libraries, applications are generally different as they come with
bootstrapping code. So, you can’t load a Flex app with ModuleLoader.


On 4/23/15, 2:59 PM, "jfb" <j.balladares@verizon.net> wrote:

>Hi All,
>Trying to organize an app in flex 3 before migrate to the new SDK. I have
>I have a module as:
>private function loadModuleToStage(moduleName:String):void{
>	msgBdLoader.unloadModule();
>	msgBdLoader.url = Global.appURL + moduleName+'?_ts='+ new
>	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
>Thanks in advanced.
>View this message in context:
>Sent from the Apache Flex Users mailing list archive at Nabble.com.

View raw message