This content has been marked as final. Show 5 replies
What about using a single RemoteObject that is in charge of calling the rest?
For example suppose you have 3 RemoteObjects you want to call, declare a single RemoteObject (one destination only) and have that RemoteObject call the other 3 remote objects that you want to use.
That seems to be my only option at the moment, however I was hoping there would be some cool syntactical thing i could do to change the instance of ro. Just trying to prevent myself from rearranging a couple thousand lines of code.
Can't think of anything right now, maybe someone else comes up with a cooler solution :)
i think i might have it... but i am getting a reference error to the cfc. when i change to the second ro type, i get 'Unable to invoke CFC - Could not find the ColdFusion Component or Interface QAoneDashboard.components.cfgenerated.QAtwoDashboard.' which is the path for two's cfc... which i have verified is spelled correctly and exists.
public var ro;
private function initComponent():void
if( false )
ro = new oneROComponent();
ro = new twoROComponent();
Fixed.... i had to give a FULL path from the ROOT !! ! ! ! in the outside Remote object component's source line