Ha! I figured out the xml thing. i.e. why when referencing <month_name>01</month_name>, I had to use a 1.
chartXML.lastResult.month[1].day Month[1] is an array reference! I figured it out when I wasn't getting any data for December! :) You probably knew that but I didn't. I thought I was directly referencing/compariing on the "02" string for month_name. However, I was referencing the array position for month_name. Thanks! -----Original Message----- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Chiverton Sent: Wednesday, February 06, 2008 9:58 AM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Adding Event to Object that doesnt have one On Wednesday 06 Feb 2008, Brad Bueche wrote: > <mx:HTTPService id="chartXML" url="http://path/createXML.php" ... > Data provider for the chart looks like this" > dataProvider="{chartXML.lastResult.month[02].day}" > That would the feb component. There are 4 charts in here. I change > charts by changing state. Charts are changed by using a combo box and > a case statement. For each state I use activate to call > "chartXML.send()". My first thought was why the remote end sends back the month, so I guess you have all 12 months on screen at once ? If, as you say further down, it's an '02'/'2' thing, just change either the Flex or the remote end so it does what you want. -- Tom Chiverton Helping to seamlessly expedite user-centric functionalities on: http://thefalken.livejournal.com **************************************************** This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by The Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.com. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links