Try with HttpService, there are plenty of examples in the help.

 
--- In flexcoders@yahoogroups.com, "Vinoth" <[EMAIL PROTECTED]> wrote:
>
> Please give me sample code
> 
> -Vinoth
> 
> --- In flexcoders@yahoogroups.com, shaun etherton <shaun@> wrote:
> >
> > Hi,
> > 
> > Vinoth Babu wrote:
> > > Hi All,
> > > 
> > > I have a datagrid, data's are from external XML file.
> > > 
> > > Once .swf file is created. I changed few values in XML & 
> > 
> > reopend .swf file, it's not updating. The values are updating
> > 
> >   if .mxml is recompiled.
> > > 
> > > by just reopening the .swf file, the data's must update
> > > 
> > > Here is my code
> > > 
> > > xx.mxml
> > > 
> > > <?xml version="1.0" encoding="utf-8"?>
> > > 
> > > <mx:XML id="xmlCatalog" source="testX.xml"/> 
> > 
> > 
> > The doco says:
> > 
> > ----------------------------------------
> > 
> > The source property specifies an external source, such as a file, 
for 
> > the data model. The external source can contain static data and 
data 
> > binding expressions. The compiler reads the source value and 
compiles 
> > the source into the application; the source value is not read at
> runtime.
> > 
> > ----------------------------------------
> > 
> > You need to get your xml some other way.
> > 
> > - shaun
> >
>


Reply via email to