I should have finished reading that blog post before I sent this. I guess there is a more "modern" way to do this:
http://livedocs.adobe.com/flex/3/html/help.html?content=08_Dates_and_times_4.html --- In [email protected], "postwick" <p...@...> wrote: > > You would use setInterval() > > http://blog.flexexamples.com/2008/02/14/creating-timers-using-the-setinterval-method/ > > However, I recommend looking into LCDS (LiveCycle Data Services). It does > this automatically. > > --- In [email protected], "Shoukat Ali" <a.shoukat@> wrote: > > > > this is my mxml file :: > > > > --------------------------------------------------------------- > > <?xml version="1.0" encoding="utf-8"?> > > <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" > > creationComplete="realData.send()"> > > <mx:HTTPService id="realData" > > url="http://localhost:8080/real/test.jsp"/> > > <mx:DataGrid x="63" y="53" id="sfssfs" > > dataProvider="{realData.lastResult.response.data.row}"> > > </mx:DataGrid> > > </mx:Application> > > > > ---------------------------------------------------------------- > > > > i am using jsp as dataprovider, now i want to refresh the page per 5 > > seconds, so that the jsp is called per 5 sec. and pull the updated data > > from database. database is being updated regularly by other application. > > >

