Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 1 of 1

Thread: progress bar

  1. #1
    New Coder
    Join Date
    Feb 2009
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    progress bar

    now, i am trying to do progress bar during upload.
    why is the percetage of my complete upload is only 2%?
    how to make it 100%??
    it is problem with my timer?

    this is the coding about my progress bar-->

    private function init():void {
    timer = new Timer(1);
    timer.addEventListener(TimerEvent.TIMER, timer_timer);
    }

    private function timer_timer(evt:TimerEvent):void {
    progressBar.setProgress(progressBar.value + 5, 100);
    }
    Last edited by 0o_o0; 03-20-2009 at 02:24 AM.


 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •