[flexcoders] Module issue
I try load new module when previous one has been unloaded. So I let the moduler load module in the unload event handler. But the module can't be loaded ? moduler.unloadModule(); // actually it has not been unload moduler.loadModule(...); // the new one load moduler.unloadModule(); // When It has been unloaded modulerUnloadedHandler(e:ModuleEvent):void{ moduler.loadModule(...); // the new one load // but the new one can't load with no error ~~~ }
Re: [flexcoders] Module Issue....
I am a newbie and not sure what type of listeners you mean... The thing that stands out the most for me is the Module swf file is never compiled I moved both the main mxl and module mxl into the root to insure they are where they aught to be... Have any ideas as to why the module is not compiled? Eric W Dunn Adaption Technologies 281-465-3326 ed...@adpt-tech.com - Original Message - From: "Alex Harui" To: flexcoders@yahoogroups.com Sent: Tuesday, February 17, 2009 5:14:13 PM GMT -06:00 US/Canada Central Subject: RE: [flexcoders] Module Issue Make sure the SWF is where you think it is. Other than that, looks ok. Attach listeners to events and see what’s happening. Alex Harui Flex SDK Developer Adobe Systems Inc. Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Eric Dunn Sent: Tuesday, February 17, 2009 10:48 AM To: flexcoders Subject: [flexcoders] Module Issue I have done this twice before and apparently I am forgetting something.. 1) Create a main app with add a ModuleLoader and a button to load module. 2) Create Module - added some text field to display data.. 3) Run app and click button to load module.. I click the button and nothing happens... What have I forgotten to do? Am I not importing something I need to declaring something? I have looked at the other code and don't see any difference other than lots more stuff... http://www.adobe.com/2006/mxml"; layout="absolute"> http://www.adobe.com/2006/mxml"; layout="absolute" width="400" height="300"> Eric W Dunn Adaption Technologies! 281- 465-3326 ed...@adpt-tech.com
RE: [flexcoders] Module Issue....
Make sure the SWF is where you think it is. Other than that, looks ok. Attach listeners to events and see what’s happening. Alex Harui Flex SDK Developer Adobe Systems Inc.<http://www.adobe.com/> Blog: http://blogs.adobe.com/aharui From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Eric Dunn Sent: Tuesday, February 17, 2009 10:48 AM To: flexcoders Subject: [flexcoders] Module Issue I have done this twice before and apparently I am forgetting something.. 1) Create a main app with add a ModuleLoader and a button to load module. 2) Create Module - added some text field to display data.. 3) Run app and click button to load module.. I click the button and nothing happens... What have I forgotten to do? Am I not importing something I need to declaring something? I have looked at the other code and don't see any difference other than lots more stuff... http://www.adobe.com/2006/mxml"; layout="absolute"> http://www.adobe.com/2006/mxml"; layout="absolute" width="400" height="300"> Eric W Dunn Adaption Technologies! 281- 465-3326 ed...@adpt-tech.com
[flexcoders] Module Issue....
I have done this twice before and apparently I am forgetting something.. 1) Create a main app with add a ModuleLoader and a button to load module. 2) Create Module - added some text field to display data.. 3) Run app and click button to load module.. I click the button and nothing happens... What have I forgotten to do? Am I not importing something I need to declaring something? I have looked at the other code and don't see any difference other than lots more stuff... http://www.adobe.com/2006/mxml"; layout="absolute"> http://www.adobe.com/2006/mxml"; layout="absolute" width="400" height="300"> Eric W Dunn Adaption Technologies 281-465-3326 ed...@adpt-tech.com
RE: [flexcoders] Module issue
Check your lib-path to make sure the framework.swc is the right one. If you end up with a 2.0 instead of 2.0.1 it won't know about moduleloader. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of fabio_sebastiano Sent: Wednesday, March 21, 2007 7:50 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Module issue Hi everybody, i'm facing a real funny problem with modules and moduleLoader, i hope it's not my fault anyway... If i create a normal flex project with fBuilder, i'm able to use modules in a lot of different ways (as mxml, as as in a function etc..)... but if i try to use them in my fds application (created with fds eclipse plugin) i can't use modules. The compile-time error message is always the same: Could not resolve to a component implementation I tried a lot of solutions, paying attention to import all the classes etc...but nothing change. I will appreciate everykind of help. TIA Fabio
[flexcoders] Module issue
Hi everybody, i'm facing a real funny problem with modules and moduleLoader, i hope it's not my fault anyway... If i create a normal flex project with fBuilder, i'm able to use modules in a lot of different ways (as mxml, as as in a function etc..)... but if i try to use them in my fds application (created with fds eclipse plugin) i can't use modules. The compile-time error message is always the same: Could not resolve to a component implementation I tried a lot of solutions, paying attention to import all the classes etc...but nothing change. I will appreciate everykind of help. TIA Fabio