yes and no -- won't work in my case. Action script calls web services async. I have a single web service that returns multiple values depending on whats passed in, so having:
webservice.send(); comboBox.dataprovider=webservice.result There is no data in webservice.result until webservice.send is complete but combobox.dataprovider= is executed anyway leaving a blank combo box. I guess the only way around this would be to wire up events...open to suggestions. --- In [email protected], Manish Jethani <[EMAIL PROTECTED]> wrote: > On 8/4/05, terry_hrtn <[EMAIL PROTECTED]> wrote: > > Is there a way to assign a data provider to combo box at run time using > > action script instead of mxml? > > Yups, simply set the dataProvider property. > > comboBox.dataProvider = newDataProvider; > > Manish ------------------------ Yahoo! Groups Sponsor --------------------~--> <font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12h56va2j/M=362329.6886308.7839368.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1123179883/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 ">Fair play? Video games influencing politics. Click and talk back!</a>.</font> --------------------------------------------------------------------~-> -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 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/

