Hi var remoteOject:RemoteObject = new RemoteObject() remoteOject.title = INCORRECT_STK_COMP; remoteOject.getIncorrectStkCompIndexList.addEventListener(ResultEvent.RE\ SULT,openIncorrectParamsResult); remoteOject.getIncorrectStkCompIndexList();
Compile time "No Error" RunTime Error: Error: Cannot assign operations into an RPC Service (title) at mx.rpc::AbstractService/http://www.adobe.com/2006/actionscript/flash/pro\ xy::setProperty()[C:\autobuild\3.2.0\frameworks\projects\rpc\src\mx\rpc\\ AbstractService.as:282] at com.sandp.grip.view.app.screen.dashboardtab::IndexProfileBase/openIncorr\ ectTimings()[D:\eclipse\flexworkspace\grip-console\grip\src\com\sandp\gr\ ip\view\app\screen\dashboardtab\IndexProfileBase.as:143] at com.sandp.grip.view.app.screen.dashboardtab::IndexProfileHorizental/___I\ ndexProfileHorizental_Label24_click()[D:\eclipse\flexworkspace\grip-cons\ ole\grip\src\com\sandp\grip\view\app\screen\dashboardtab\IndexProfileHor\ izental.mxml:369] thanks ilikeflex --- In [email protected], Alex Harui <aha...@...> wrote: > > Yeah, that should work. What error do you get? How did you define the class? > > Alex Harui > Flex SDK Developer > Adobe Systems Inc.<http://www.adobe.com/> > Blog: http://blogs.adobe.com/aharui > > From: [email protected] [mailto:[email protected]] On Behalf Of ilikeflex > Sent: Friday, October 09, 2009 7:02 AM > To: [email protected] > Subject: [flexcoders] dynamic class | add property runtime > > > > Hi > > If i have any "public dynamic class" then i can add any property at run time. > > Correct me if i am not correct?? > > But if i do the same for the RemoteObject. It does not give me error at compile time but it gives me error at runtime. > > My understanding is that i should be able to add the property at run time since it is dynamic. > > Thanks > ilikeflex >

