resultFormat is a property of the HTTPService that you're probably using to retrieve the XML.
http://livedocs.adobe.com/flex/3/langref/mx/rpc/http/HTTPService.html#resultFormat Sunil --- In flexcoders@yahoogroups.com, "Ramabhadra Reddy" <ramabhadrare...@...> wrote: > > Thanks Tracy Spratt for your quick reply. > > Still i have doubt on resultFormat="e4x" attribute setting. where do i set > this attribute in my code. is this attribue belongs to data grid component? > > override public function set data(value:Object):void{ > > super.data = value; > cusipvalue =value.cusipvalue; > Alert.show(cusip); > Here the alert is showing Infinite value . i.e value object it self having > exponential converted value. How i can i apply this resultFormat="e4x" > attribute for value:Object param > > --- In flexcoders@yahoogroups.com, "Tracy Spratt" <tspratt@> wrote: > > > > You have left the resultFormat at its default value which is "object". This > > causes Flex to convert your xml into a tree of dynamic objects. This has > > many side effects, among which is attempting to guess at the data type from > > the content, and it often guesses wrong. > > > > > > > > Set resultFormat="e4x" and get your data unmodified, and handle the > > datatyping yourself. > > > > > > > > Tracy Spratt, > > > > Lariat Services, development services available > > > > _____ > > > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > > Behalf Of Ramabhadra Reddy > > Sent: Tuesday, April 07, 2009 11:52 AM > > To: flexcoders@yahoogroups.com > > Subject: [flexcoders] FLEX defaut xml parser issue with Auto Exponential > > conversion issue > > > > > > > > <cusipvalue>7898778E345</cusipvalue> > > if you see above xml tag value, that is having E char. this E is causing the > > issue. > > above value(7898778E345) displaying as Infinite When i display this value on > > flex grid. the reason is this value has E. so the flex parser is implecitly > > convertion is faling. > > > > 7898778E345 = 7898778 * 10 Power of 345 = too big value = Infinite. > > > > Is there any way to instruct flex defalut xml parser to stopping auto > > conversion into expaning exponential value?. > > Any help is appriciated. > > > > Thanks, > > Rama > > >