Guys, I got this XML <data> <month label="Jan"/> <month label="Feb"/> <month label="Mar"/> <month label="Apr"/> </data>
I want to make a time range selector for a column chart. I copied this code from Macromedia's webblog: (http://weblogs.macromedia.com/flex_samples/charts_explorer/line/LineS lider.mxml) ---------------- AS: private function getSliderLabel(value:String): void { ### return results.gen[parseInt(value)].label; } private function sliceResults(): void { slicedResults= myData.lastResult.data.slice(slider.values [0],slider.values[1]); } MXML: <mx:HTTPService id="myData" useProxy="false"/> <mx:Model id="results"> <gen>{myData.lastResult.data.month}</gen> </mx:Model> ---------------- Unluckyly, it ain't working...I get and error on ### that says: "The resturned value must not be defined" Any ideas? Thanks! -- 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 <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

