Re: [flexcoders] Help need to update datagrid value dynamically

2007-04-15 Thread shaun etherton
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
> 
> 
> 
>  


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


[flexcoders] Help need to update datagrid value dynamically

2007-04-15 Thread Vinoth Babu
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



 
   











testX.xml


  
Nokia 6010
Easy to use without sacrificing styl
99.99
6000  
  
  
Nokia 3100 Blue
Light up the night with a glow-in-the-dark cover 

139
assets/pic/Nokia_3100_blue.gif
3000   
  
  
Nokia 3100 Pink
Light up the night with a glow-in-the-dark cover 

139
assets/pic/Nokia_3100_pink.gif
3000
   

 
Thanks 
Vinoth Babu T.J.
  
 















__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com