Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Question about timed events

Avatar

Level 1
Hello Everyone,



I'm brand new to both Flash and Flex so please bear with me
if I am asking a stupid question. I've done some Googling but I
can't seem to find the answer to this issue and I hope someone will
be willing to offer me some informtion.



I have a DataGrid componant that I populate with the results
of an <mx:HTTP> datasource. The problem is, I need to be able
to requery that datasource on a timed basis. I know how to use the
Timer object in ActionScript but I don't know how to tie this into
the <mx:HTTP> query. Basically, I'm wanting to update the
datagrid on a timed basis based on information retreived from the
remote datasource.



Can anyone help?



Thanks!

Anthony
2 Replies

Avatar

Level 1
Hi,



all you have to do is to bind the result of the HTTPService
to the datasource property of your grid (you have already done
that) and use a Timer to call the HTTPService's send method.



regards, René