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

2009-03-03 Thread keishalexie
Hi Everyone, I am fairly new to Flex and am doing a project using Flex 3, the as3corelib, and a PHP file that is sending json data. The json data is not being displayed in my data table and what is coming through is valid (I checked in the JSON Validator). I really am not sure where the problem

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

2009-03-03 Thread Anggie Bratadinata
Have you decoded the JSON data ? Here's a snippet from a project I'm working on: public function resultHandler(e:ResultEvent):void{ var rawString:String = String(e.result); var json:* = JSON.decode(rawString); var players:Array = json as Array; _model.leaders = new ArrayCollection(players); } I

[flexcoders] Error #1034: Type Coercion failed: cannot convert to Date w/ Datagrid

2008-11-18 Thread timgerr
Hello all, I am trying to add a datefield to a datagrid using a itemEditor. I have seen that people are having this problem but I canot find a solution (That I understand). Has anyone ever had this problem and what did you do to solve it. Here is my code: mx:DataGrid id=CertDG width=528

RE: [flexcoders] Error #1034: Type Coercion failed: cannot convert to Date w/ Datagrid

2008-11-18 Thread Alex Harui
editorDataField=selectedDate From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of timgerr Sent: Tuesday, November 18, 2008 9:32 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Error #1034: Type Coercion failed: cannot convert to Date w/ Datagrid Hello all, I am

Re: [flexcoders] Error #1034: Type Coercion failed.... how to solve?

2008-07-17 Thread Guilherme Blanco
. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Guilherme Blanco Sent: Wednesday, July 16, 2008 7:40 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Error #1034: Type Coercion failed how to solve? Could you

[flexcoders] Error #1034: Type Coercion failed.... how to solve?

2008-07-16 Thread Guilherme Blanco
Hi all, I'm in troubles here... researching the internet furiously while post it here. I have in my application that loads a module and instantiate it inside an instance of class core.controls.ModalDialog, class that I wrote extended from TitleWindow. The source is really simple... here is the

RE: [flexcoders] Error #1034: Type Coercion failed.... how to solve?

2008-07-16 Thread Alex Harui
Shared code problem. See my blog From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Guilherme Blanco Sent: Wednesday, July 16, 2008 7:19 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Error #1034: Type Coercion failed how

Re: [flexcoders] Error #1034: Type Coercion failed.... how to solve?

2008-07-16 Thread Guilherme Blanco
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Guilherme Blanco Sent: Wednesday, July 16, 2008 7:19 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Error #1034: Type Coercion failed how to solve? Hi all, I'm

RE: [flexcoders] Error #1034: Type Coercion failed.... how to solve?

2008-07-16 Thread Alex Harui
Of Guilherme Blanco Sent: Wednesday, July 16, 2008 7:19 AM To: flexcoders@yahoogroups.com mailto:flexcoders%40yahoogroups.com Subject: [flexcoders] Error #1034: Type Coercion failed how to solve? Hi all, I'm in troubles here... researching the internet furiously while post it here. I

[flexcoders] Error #1034: Type Coercion failed in EventDispatcher/dispatchEventFunction()

2008-02-05 Thread toofah_gm
I am seeing a very strange problem that I am unable to track down. I have a custom Event class called ControllerEvent. Essentially it wraps Event and hangs onto some custom data for me. I've been using it without issue for a long time...now today in one case in my code when I call dispatchEvent

[flexcoders] Error #1034: Type Coercion failed

2007-04-26 Thread rdeijkers
I'm trying to fill a Tile with the contents of an xml file. This is my mxml code: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml; layout=absolute width=100% height=100% backgroundAlpha=0 applicationComplete=srv.send(); horizontalScrollPolicy=off

Re: [flexcoders] Error #1034: Type Coercion failed

2007-04-26 Thread Michael Wills
Would it help to make your HTTPService resultFormat e4x and not use mx:Model for categorienAC, but rather use an XMLList? mx:Script ![CDATA[ * var **categorienAC : XMLList = new XMLList();* private function xmlLoaded():void { categorienAC = srv.lastResult.categorien.categorie; } ]]