Ben üç tuval bileşenleri var olan bir sekme Navigator bileşeni kullanıyorum. I tuval birini (ya da sekmesini) tıkladığınızda, Pie Chart görüntülenir.
Actually what happens is that on-click
1. the canvas sends an HTTPService whose url is set to a php file
2. That php file actually gets information from a database. Based on that information an xml file is created
3. Fusion Chart uses that xml file to display a pie chart
Problem:
The database is being updated after some time.
Veritabanındaki değişiklikleri yansıtmak için her 3 dakika sonra Pie Chart güncellenmiş olsun herhangi bir yolu var mı? veya
I 'arka plan' her 3 dakika sonra tekrar ve tekrar belirli HTTPService gönderebilir miyim? veya
Sekme Navigator, belirli bir tuval (veya sekmesi) bilgileri güncellemek için iyi bir yolu var mı?
Thanks a million. :)
Update:
Trying to setup a timer now in my application but i am getting following errors against 2nd and 3rd line:
2nd line error:
Multiple markers:
-1120 Access of undefined property Countsec
-1120 Access of undefined property mTimer
3rd line error:
Access of undefined property mTimer
Ama kodda, aşağıda gösterildiği gibi, her tanımlanmış:
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
}