Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 438949
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T20:43:42+00:00 2026-05-12T20:43:42+00:00

I am using a Tab Navigator component in which there are three canvas components.

  • 0

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.

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.

Is there any way the Pie Chart may get updated after every 3 minutes to reflect the modifications in the database? or

Can i send the particular HTTPService again and again after every 3 minutes ‘in background’? or

Is there any good way to update the information in a particular canvas (or tab) of Tab Navigator?

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

But i have defined everything as shown below in the 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
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T20:43:42+00:00Added an answer on May 12, 2026 at 8:43 pm

    The following lines need to be in a function call and not just declared in script:

    mTimer.addEventListener(TimerEvent.TIMER,Countsec);
    mTimer.start();
    

    You should probably call them in a function on the initialize or the creationComplete events.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using this - otherwise excellent - vb tab control in one of
I am using VirtualPc 2007 more and more, the one annoyance is Alt-Tab. What
I have the need of a click tab event. I am using the following
I am using a tab bar (UITabBarController) on my app and I wish to
using target=_blank in the navigateToUrl with Firefox on Windows it opens in new tab,
I am parsing a tab seperated list using a NSScanner based upon each line
I'm trying add a tab to my web page that looks like this: Using
Using ASP.NET MVC there are situations (such as form submission) that may require a
Using online interfaces to a version control system is a nice way to have
Using PyObjC , you can use Python to write Cocoa applications for OS X.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.