Fixed it by providing ApplicationDomain.currentDomain on load()
...
info = ModuleManager.getModule(moduleURL);
if (info != null) {
info.addEventListener(ModuleEvent.READY, onReady);
info.addEventListener(ModuleEvent.ERROR, onError);
Be aware that doing that prevents the module from ever unloading. You might
want a separate module of your data classes and load those that way and the
rest of the code using default parameters
Alex Harui
Flex SDK Developer
Adobe Systems Inc.http://www.adobe.com/
Blog:
anyone with idea?
--- In flexcoders@yahoogroups.com, poweribo power...@... wrote:
I used Flexbuilder to generated the proxy code for my webservices and
my app works perfectly as standalone swf file but when I load it as a module
(loaded from another main swf file), it throws these kind of
Usually all webservice data classes need to be in the main applicationdomain.
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 poweribo
Sent: Tuesday,
4 matches
Mail list logo