[flexcoders] Re: Error #1034: Type Coercion failed: cannot convert JSON Data

2009-03-03 Thread keishalexie
Here's where it is trying to decode from the project I have private function getPHPData(event:ResultEvent):void { var rawArray:Array; var rawData:String = String(event.result); rawArray = JSON.decode(rawData) as Array; dataArray = new ArrayCollection(rawArray);

RE: [flexcoders] Re: Error #1034: Type Coercion failed: cannot convert JSON Data

2009-03-03 Thread Tracy Spratt
Is your data in event.result? Tracy _ From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of keishalexie Sent: Tuesday, March 03, 2009 5:29 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Error #1034: Type Coercion failed: cannot convert JSON Data

Re: [flexcoders] Re: Error #1034: Type Coercion failed: cannot convert JSON Data

2009-03-03 Thread Keisha Lexie
, 2009 5:33:05 PM Subject: RE: [flexcoders] Re: Error #1034: Type Coercion failed: cannot convert JSON Data Is your data in event.result? Tracy From:flexcod...@yahoogro ups.com [mailto:flexcoders@ yahoogroups. com] On Behalf Of keishalexie Sent: Tuesday, March 03

RE: [flexcoders] Re: Error #1034: Type Coercion failed: cannot convert JSON Data

2009-03-03 Thread Tracy Spratt
, 2009 11:08 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: Error #1034: Type Coercion failed: cannot convert JSON Data Yes, I have it like this: private function updatedPHPDataResult(event:ResultEvent):void { lblStatus.text = String(event.result); } --Keisha

Re: [flexcoders] Re: Error #1034: Type Coercion failed: cannot convert JSON Data

2009-03-03 Thread Ashish Verma
*To:* flexcoders@yahoogroups.com *Sent:* Tuesday, March 3, 2009 5:33:05 PM *Subject:* RE: [flexcoders] Re: Error #1034: Type Coercion failed: cannot convert JSON Data Is your data in event.result? Tracy -- *From:* flexcod...@yahoogro ups.com [mailto:flexcoders