Note that there are some explanatory texts on larger screens.

plurals
  1. POFlex: Refresh a particular tab of a TabNavigator?
    text
    copied!<p>I am using a Tab Navigator component in which there are three canvas components. When i click one of the canvas (or tab), a Pie Chart is displayed.</p> <p>Actually what happens is that on-click<br/> 1. the canvas sends an HTTPService whose url is set to a php file <br/> 2. That php file actually gets information from a database. Based on that information an xml file is created<br/> 3. Fusion Chart uses that xml file to display a pie chart<br/></p> <p><strong>Problem:</strong><br/> The database is being updated after some time. </p> <p>Is there any way the Pie Chart may get updated after every 3 minutes to reflect the modifications in the database? or</p> <p>Can i send the particular HTTPService again and again after every 3 minutes 'in background'? or</p> <p>Is there any good way to update the information in a particular canvas (or tab) of Tab Navigator?</p> <p>Thanks a million. :) <br/><br/> <strong>Update:</strong><br/> Trying to setup a timer now in my application but i am getting following errors against 2nd and 3rd line:<br/></p> <p><strong>2nd line error:</strong><br/> Multiple markers:<br/> -1120 Access of undefined property Countsec<br/> -1120 Access of undefined property mTimer<br/> <strong>3rd line error:</strong><br/> Access of undefined property mTimer<br/></p> <p>But i have defined everything as shown below in the code:</p> <pre><code>var mTimer:Timer=new Timer(1000*60*3); //3 minutes mTimer.addEventListener(TimerEvent.TIMER,Countsec); mTimer.start(); private function Countsec(e:TimerEvent):void { charts.send(); //HTTPService's ID that needs to be sent } </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload