Skip navigation
finefeeling
Currently Being Moderated

Cairngorm sub-applications & Remoting

Jul 2, 2010 1:48 AM

Has anyone written two distinct Cairngorm-based applications, each capable of dispatching service calls (via RemoteObject) and tried loading one inside of the other?

Essentially I have a parent application that uses SWFLoader to load a sub-application (in a peer Application Domain).  The sub-application loads visually within the parent application but service calls from the sub-application result in a runtime error:

 

TypeError: Error #1034: Type Coercion failed: cannot convert Object@xxxxx to mx.messaging.messages.ErrorMessage.

 

if  I use flexbuilder debug parent application, the sub application no runtime error.

 

somebody know this question?

 

 
Replies
  • Currently Being Moderated
    Oct 5, 2010 5:24 PM   in reply to finefeeling

    Hello, i had exactly the same issue!

    After loosing a lot of time trying a lot of solutions, i just found out in this other post of this forum:

    http://forums.adobe.com/message/2919164#2919164

     

    That the issue was from the player version.

    its said " The RPC problem was fixed in FP10.1 so if you force upgrade to 10.1..."

     

    And it was the case for me.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points