Groups | Blog | Home
all groups > macromedia flash flash remoting > may 2004 >

macromedia flash flash remoting : I need that new data.



eschew
5/11/2004 12:40:44 PM
Hi,

Say i have a database or xml file that is updated frequently.
I have a flash app that reads this data and displays it.
The data is read once when the app is loaded.
I need the app to display the new data when the database or xml file is
updated without reloading the flash app.

What is the best way for doing this? Do i have to create some sort of loop
that triggers the cf component every X seconds or is there a better way?

Thanks,
Chris
thedanster
5/11/2004 5:32:59 PM
What server technology are you using, Coldfusion, php, ASP?
You may be able to trigger a n event from that server, but most likely you
could just create a setInterval that does a dataset refresh.
I suspect that will be a problem if the user is scrolling through data since
this may lose their row positioning. You could force the refresh after a
applyChanges event or something.
HTH
DAN
AddThis Social Bookmark Button