Hi,

I'm try to put my server url in the http file because i want test on
different server without recompiling. The problem is the remoteobject
read my "SoftwareModelLocator.serverUrl" before my initapp in my main
application is called. ServerUrl is Bindable, but the endPoint is not
"refreshing" the new value set by initApp... Any idea? 

private function initApp():void {  
SoftwareModelLocator.serverUrl=Application.application.parameters.serverURL;
}


<mx:RemoteObject  id="remoteTimelineObject"
destination="TimelineRemote" 
endpoint="{SoftwareModelLocator.serverUrl}/weborb"                              
        
showBusyCursor="true"                                                   
result="onResult( event );"                                             
fault="onFault( event );">
</mx:RemoteObject>

Reply via email to