Loaded cairngorm swf will not remote


i'm sure has cairngorm's "issues", thought i'd give try here anyway.

got several cairngorm flex apps, trying use 1 main app , load "one" of others now.

each app has own events, commands, delegate, servicelocator, etc.

these swfs "do not need communicate each other" , run fine independently.

 

of course, cairngorm's issues won't let load cairngorm app in same app domain or else you

will bunch of "more 1 servicelocator...blah blah" errors. 

 

so i'm loading other swf new applicationdomain(). 

it loads without errors, now, loaded swf tries make remote object call,

it throws error:  typeerror: error #1034: type coercion failed: cannot convert object@125e4039 mx.messaging.messages.errormessage.

looking @ logs shows loaded swf's remoting call sending "null" destination, , "null" operation.

 

it throws error, no matter of other swfs try load, once try make remoting call.

as said earlier, these swfs run fine independently.

 

anybody has gotten 1 cairngorm app load cairngorm app remoting, appreciated.

i used love cairngorm until started getting apps modules , sub apps.... pain in a**.

the flash player doesn't handle remoting in non-top-level applicationdomains.  1 way workaround use second domain , load untrusted

 

alex harui

flex sdk developer

adobe systems inc.

blog: http://blogs.adobe.com/aharui



More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

Help with codes to add 1 more shift register and add more to matrix LED

tcp client

Is there an HTML component in Flex 2.0?