[flexcoders] Re: Getting #1034 Type Coercion Error in FB2 GA - didn't happen in FB2B3.
Thank you, that did the trick. -Jeff --- In flexcoders@yahoogroups.com, Brendan Meutzner [EMAIL PROTECTED] wrote: Hey, Set makeObjectsBindable=false inside your HTTPService call... http://groups.yahoo.com/group/flexcoders/message/37852 Yahoo! Groups Sponsor ~-- See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/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/
[flexcoders] Getting #1034 Type Coercion Error in FB2 GA - didn't happen in FB2B3.
I have had an application going since BETA 1 of Flex 2.0. I am just doing a simple query to a PHP script and now with the GA of Flex 2.0 - I am getting a #1034 Type Coercion Error on my queries. I have tried debugging but I am getting hopelessly lost in the errors. Below is an example of the code I am using - this was just working before I upgraded. ...creationComplete=getLatestAlbums.send() //when the app comes up. mx:Script ![CDATA[ import mx.collections.ArrayCollection; import mx.controls.Alert; [Bindable] public var LatestAlbums:ArrayCollection; private function resultlatestalbumsHandler(event:ResultEvent) : void { LatestAlbums = new ArrayCollection(getLatestAlbums.lastResult.albumlist.albums) } private function faultHandler(event:FaultEvent) : void { Alert.show(I can't believe this is now broken); } ]] /mx:Script mx:HTTPService id=getLatestAlbums url=../php/latestalbums.php useProxy=false method=POST result=resultlatestalbumsHandler(event) fault=faultHandler(event) showBusyCursor=true /mx:HTTPService myPanel title=Latest Albums id=LatestAlbumsPanel myTileList dataProvider={LatestAlbums} itemRenderer=latestalbumthumbs id=latestalbumslist/ /myPanel All I am trying to do, is get the latest pictures from my query and throw them into the TileList. This worked before...and now is busted. I don't get any errors when I compile this in Flex Builder, but when I use the latest Flash Player (GA) it blows up on me with the Type Coercion errors. Thanks for your help. -Jeff -- 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/