You and me both. Thanks a lot for your help. I'm going to look into whether or not I've set up AMFPHP properly, as well as contact some of the develops to see if perhaps I can hack away at the source to return back something more useful. Wrapping the results is still on the chopping block though. so at least I have options.
Cheers, Kevin _____ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Samuel R. Neff Sent: Friday, November 02, 2007 2:01 PM To: [email protected] Subject: RE: [flexcoders] AMFPHP & Flex 3 Beta ah, that's the format the old Flash Recordset class used so it makes sense that AMFPHP would use the same format. Fluorine provides support for both that style and for ArrayCollection of Object instances which is more Flex friendly. My suggestion would be to create a Recordset implementation and use that as a wrapper. You can look at the Recordset.as file included with Flash 8 remoting for hints on how it's done. I'm actually surprised nobody else has solved his problem already for AMFPHP. HTH, Sam ------------------------------------------- We're Hiring! Seeking a passionate developer to join our team building Flex based products. Position is in the Washington D.C. metro area. If interested contact [EMAIL PROTECTED] _____ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Kevin Aebig Sent: Friday, November 02, 2007 3:46 PM To: [email protected] Subject: RE: [flexcoders] AMFPHP & Flex 3 Beta Well I've exposed a dump of the actionscript object easily enough that's being returned and the object in PHP is just a result from a MySQL query. I can get at the data currently, but if you notice down below, there aren't any named references for the columns, which make it nearly impossible to using bindings. public function getProjects():void { amfConnection.call( "Something.getProjects", new Responder(getProjectsOnResult, OnFault), userInfo.uid); } public function getProjectsOnResult( result:Object ) : void { var projectDP:ArrayCollection = new ArrayCollection(); for( var i in result.serverInfo.initialData) { var name:String = result.serverInfo.initialData[i][3]; var pid:String = result.serverInfo.initialData[i][0]; projectDP.addItem({name:name, pid:pid}); } projects.labelField = "name"; projects.dataProvider = projectDP; } The old phrase of "If it ain't broke, don't fix it" comes to mind when I see whats being returned ala AMF3. Any suggestions you can make would be greatly appreciated. Cheers, Kevin

