Re: [flexcoders] XML, HTTPSerivce, Setting dataProvider in Action Script

2008-02-12 Thread Sherif Abdou
] To: flexcoders@yahoogroups.com Sent: Tuesday, February 12, 2008 1:29:36 PM Subject: RE: [flexcoders] XML, HTTPSerivce, Setting dataProvider in Action Script Thanks! That worked. I have noticed that I am not setting the dataprovider for my category axis and its still getting filled in? Is that possible

RE: [flexcoders] XML, HTTPSerivce, Setting dataProvider in Action Script

2008-02-12 Thread Brad Bueche
: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Sherif Abdou Sent: Tuesday, February 12, 2008 1:39 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] XML, HTTPSerivce, Setting dataProvider in Action Script lastResult doesnt work in Actionscript only MXML, you get null if you

Re: [flexcoders] XML, HTTPSerivce, Setting dataProvider in Action Script

2008-02-12 Thread Sherif Abdou
: [flexcoders] XML, HTTPSerivce, Setting dataProvider in Action Script lastResult doesnt work in Actionscript only MXML, you get null if you use it in actionScript it should be just private function initApp():void{ chartXML.send(); chartXML.addEventListener( ResultEvent. RESULT,onResult

Re: [flexcoders] XML, HTTPSerivce, Setting dataProvider in Action Script

2008-02-12 Thread Sherif Abdou
lastResult doesnt work in Actionscript only MXML, you get null if you use it in actionScript it should be just private function initApp():void{ chartXML.send(); chartXML.addEventListener(ResultEvent.RESULT,onResult); } private function onResult(event:ResultEvent):void{ //u get event.result }

RE: [flexcoders] XML as a dataprovider

2006-10-09 Thread Ely Greenfield
your AS version should work fine. Are you having a problem? Ely. From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of SamSent: Saturday, October 07, 2006 9:26 PMTo: flexcoders@yahoogroups.comSubject: [flexcoders] XML as a dataprovider Hi,I'm trying to use XML

RE: [flexcoders] XML as a dataprovider

2006-10-09 Thread Ted Patrick
Sam, There are a few things I would change here. Lets back up a bit: ?xml version=1.0 encoding=utf-8? mx:Application xmlns:mx=http://www.adobe.com/2006/mxml creationComplete=getXML.send() layout=absolute mx:HTTPService id=getXML url="" resultFormat=e4x/ mx:List

RE: [flexcoders] XML as a dataprovider

2006-10-08 Thread Peter Farland
First up, Flex is doing more work for you than you realize - the lastResult attribute has been marked with [Bindable] metadata which asks the mxmlc compiler to generate some code to ensure that change events are propagated to interested listeners. For a simplified explanation of what