-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
This is how I got around this... - ------------- import mx.uils.ObjectProxy; import mx.collections.ArrayCollection; [Bindable] private scans:ArrayCollection; private function handleGetScansResults(event:ResultEvent):void { //Note: getScan is a HTTPService object. if(getScan.lastResult.vector.scan is ObjectProxy) { scans = new ArrayCollection([getScan.lastResult.vector.scan]); }else{ scans = getScan.lastResult.vector.scan as ArrayCollection; } } - ------------- (sorry for any word wrapping) Dunno if someone else already suggested this, but I hope this helps. Mike Duncan ISSO, Application Security Specialist Government Contractor with STG, Inc. NOAA :: National Climatic Data Center 151 Patton Ave. Asheville, NC 28801-5001 [EMAIL PROTECTED] 828.271.4289 jch92592 wrote: > > > All, > > I am using an ArrayCollection that I populate with the results from a > ColdFusion RPC. > > All works well when there is more than 1 record. When only 1 record is > returned, the data is not assigned to the ArrayCollection. > > Any suggestions? > > Thank you, > jh > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJHIiSnvIkv6fg9hYRAlGzAKCIblu06TZ3RwHX0CJg8QqRZrRIXACffhUh DnnU2NWQAOl6jhcSwp03gMk= =G5aj -----END PGP SIGNATURE-----