Hi, I have a situation where in I have to make function call in sequence (synchronous method calls). I am getting image file names along with product information by making RemoteObject call. I am making a function call on result event. Inside that function I am setting individual data to corresponding textinputs and then at the end I am constructing an array to hold image file names ( more than one value). After creating the array I have to pass this array as an argument to a function call which passes the array to other browser window already opened.
What I found was the method is called before completion of data setting, means array is blank and the image browser window is not displaying any images. If I hard code values in array then I can see images on the image browser window. Please help me out in How to make synchronous method calls in flex? In the following file you can see I tried different way but no successes. <<ScheduleProcessor.as>> Here is RemoteObject method syntax from my mxml <mx:method name="getSchedules" result="scheduleList_do=event.result;setValues()" fault="mx.controls.Alert.show(event.fault.faultstring, 'Remote Call Error')"> <mx:arguments> <arg1>4</arg1> </mx:arguments> </mx:method> Thanks! Hari Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
ScheduleProcessor.as
Description: Binary data