[flexcoders] Data changed in xml file does not updated in mx:xml

2009-05-06 Thread jam35bond

Hi all,

mx:XML id=trendyXML source=data/casual.xml /

Some where in my source code:
imageRepeater.dataProvider=trendyXML.image;


The result is the repeater display all records in the xml files. However, I 
need to keep update xml file and RECOMPILE the app with flex builder in order 
for the xml updates to take effect. I would like to get the data updated by 
only editing the xml file without recpmpile the program. Anyway how I can fix 
this?




henry



[flexcoders] Data changed in xml file does not updated in mx:xml

2009-05-04 Thread jam35bond
Hi all,
My mxml has 2 components like this:
mx:XML id=bagXML source=../../data/bag.xml /
mx:Repeater id=bagRepeater dataProvider={bagXML.image}
  mx:Image source={bagrepeater.currentit...@src} 
width=130 height=130 click='showSWF2(event, 
event.currentTarget.getRepeaterItem()@swf);'/
/mx:Repeater

I have to recompile the program with Flexbuilder everytime I got data changed 
in the XML file.

How do I do that if I only want to get the front end display data changed by 
only update the XML file without recompiling the whole program?

I am using Flex SDK3.2
Thanks