]
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
: 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
: [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
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
}
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
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
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
7 matches
Mail list logo