Thanks to everyone. This code works...I can finally move forward and do something that makes a difference on our site, lol...
--- In [email protected], "Dave Carabetta" <[EMAIL PROTECTED]> wrote: > > An alternative way to write the resultHandler() function would be: > > import mx.collections.ArrayCollection; > import mx.rpc.events.ResultEvent; > > [Bindable] > private var companyInfo:ArrayCollection; > > private function resultHandler(event:ResultEvent):void { > companyInfo = event.result as ArrayCollection; > } > > Essentially, the array type returned by ColdFusion is not exactly the same > type of array that the Datagrid is expecting. So you have to "coerce" it > into the correct datatype, which is what the "as ArrayCollection" bit is > doing. > > Regards, > Dave. > ------------------------ Yahoo! Groups Sponsor --------------------~--> Something is new at Yahoo! Groups. Check out the enhanced email design. http://us.click.yahoo.com/TktRrD/gOaOAA/yQLSAA/nhFolB/TM --------------------------------------------------------------------~-> -- 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/

