var httpService:HTTPService = new HTTPService();

                httpService.url="data/xmlfile.xml";
                httpService.resultFormat = "e4x";
                httpService.addEventListener(ResultEvent.RESULT,
onResultHttpService);
                httpService.send();
just refer the code above.

cheers,
Vivek

On Wed, Sep 23, 2009 at 9:09 PM, zxcvb <[email protected]> wrote:

>
> Just specify the name and path to the xml file in the url of the
> httpservice.
>
> On Sep 23, 4:39 pm, qin wang <[email protected]> wrote:
> > but how?
> >
> > 2009/9/23 Vivek Jain <[email protected]>
> >
> >
> >
> > > yes you can do that.
> >
> > > -Vivek
> >
> > > On Wed, Sep 23, 2009 at 3:34 PM, riaflexible <[email protected]
> >wrote:
> >
> > >> All :
> >
> > >> Can we Bind a Local XML file to a DataGrid ?
> >
> > >> I have a Air Application , The App writes the logs to the local XML
> > >> file , When ever i need to display the LOgs , I have to make a
> > >> Httpservice call to fecth latest data and to display in Datagrid .
> >
> > >> My doubt might be silly , But let me know if it s possible to Bind the
> > >> local xml to the DataGrid  , So that when ver the data changes in the
> > >> local xml file , It is updated in the DataGrid .
> >
> > >> Thanks,
> > >> Satish- Hide quoted text -
> >
> > - Show quoted text -
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to