URGENT : Progress Bar component start showing too late

I'm using the ProgressBar component in a large movie
containing a lot of objects, images ecc ...
In the first frame i've put a ProgressBar component managed
by the following ActionScript code :
stop();
listener = {path:this};
listener.complete = function()
this.path.play();
pr_main.mode = "polled";
pr_main.source = _root;
pr_main.addEventListener("complete", listener);
where pr_main is the instance name of the ProgressBar.
Well, when i try to simulate Download, i have to wait like
4-5 seconds for the bar to appear and when it happens, the bar
shows that the loading is already at about 50%, and after it starts
to work correctly.
Why i'm experiencing this behaviour ?
Thanx to all

>>In the first frame i've put a ProgressBar component
That's the problem. To use the component is has to first
fully load.

Similar Messages

  • Problem using a Flash MX 2004 Progress Bar Component within a Movieclip

    I'm try to setup a progress bar to show the percentage loaded
    of a mp3 audio file using the Flash MX 2004 Progress bar component.
    I can get the progress bar to the work normally by the having the
    component on the stage (not in a movie clip) with the component set
    to:
    mode: polled
    source loader
    with the following actionscript on the layer above:
    pBar.setStyle("themeColor", 0xFF0000);
    var loader:Object = new Sound();
    loader.loadSound("http:/www.mywebsite.co.uk/mymp3.mp3",
    true);
    But I won't to put the preloader inside a Movie Clip (the
    movie clip is called 'content_MC') as the website has alot of
    content. When I do this the mp3 file still streams but the Progress
    Bar doesn't work.
    I think I just need to change the action script so that it
    links with the component telling it to calculate the progress of
    the audio streaming file.
    Am I right? Where am I going wrong?

    I found the problem!!
    While exploring the Fireworks MX 2004 folder located under
    "C:\Documents and Settings\USER\Application Data\Macromedia\"
    folder I discovered that this folder was empty. So, I connected the
    old hard drive and investigated the contents of the corresponding
    folder on that drive. Discovering the wide assortment of files and
    folders in that folder, I simply copied the contents of that folder
    to the Fireworks MX 2004 folder and retried running the application
    and IT WORKED!
    Thanks for all your communications and in depth
    troubleshooting steps, I will keep them in may Application
    troubleshooting Tool Tips for future reference. I have included the
    actions used here which brought about the successful resolution of
    this issue so that if you'd like you might include them in any Help
    Desk Methods you may have. It was truly a collaborative effort
    because I would not have thought to explore the Application Data
    folder to resolve this issue without you pointing me in that
    direction.
    Thanks again!

  • Question about plugging in an ajax progress bar component onto a black-box.

    Hello,
    I have the following problem: I want to integrate an ajax progress bar component to a j2ee application and I am in reference to the following pattern (https://bpcatalog.dev.java.net/nonav/ajax/progress-bar/design.html). It seems I need for the "task" component to return the percent. The problem I have is that I am calling a legacy method (i.e. as400) that does not return a percent as it is to me only a black-box. Here is a snippet of what it looks like to me:
          AS400 sys = new AS400("AS400D.calyonfinancial.com");
           sys.setUserId("jmartin");
           sys.setPassword("jmartin");
           CommandCall cmd = new CommandCall(sys);
           cmd.run("my as400 command goes here");
           AS400Message[] messageList = cmd.getMessageList();
           for (AS400Message msg : messageList) {
               System.out.println(msg.getText());      
           sys.disconnectService(AS400.COMMAND);At best I can know whether or not it is completed.
    void actionCompleted(ActionCompletedEvent event) //Invoked when an action has completed.What do you advise I do bearing in mind I want to avoid using an indeterminate progress bar??
    Thanks in advance,
    Julien Martin.

    That's not a legacy method. The latest version of JTOpen was issued less than a month ago. And note that it's open-source, so you could change it yourself to provide percent-complete data. (Of course you'd have to be able to get that data from the underlying iSeries command.)
    It wouldn't be easy, but if you think about it for a minute you'll realize that you can't display percentage complete in a progress bar unless you have some way of finding out what percentage the task has actually completed.

  • Progress Bar component

    I have used the UI progress bar component in Flash CS3 AS2.
    For some reason the progress bar appears to work fine, when it gets
    to 100% it loads the movie about 3/4 way down the timeline. Its
    almost like the movie itself is playing behind the progress bar.
    Help! Thanks!

    No one?

  • Dynamic control of progress bar component

    Hello, I'm trying to use a load progress bar component to
    appear as .swf files are loaded into a blank movie symbol when
    users click on a button. What script can I use to connect the
    progress bar, button, and the empty movie clip?

    You can use the progress bar Component as a preloader of
    sorts, but this doesn't work very well within the same document.
    The best way to go about doing this is to create a 'loading' swf
    file, that is the same size as the swf your main swf, then make an
    empty MC and load the swf into it and you can then use the progress
    bar Component to display the loading (or any number of other visual
    indicators) loading is best done using the MovieClipLoader class,
    where you can use it's event handlers and methods to effect the
    progress indicator, however the pbar Component has these handler
    built in as well so in this case for simplicity I'll use the
    loadMovie method (I rarely do) So with a swf the same size as the
    one you want to load, place a pbar instance on the stage with the
    instance name of 'my_pb', and create an 'actions' layer and add
    this code to the first frame:

  • Flash Player 9 and Progress Bar Component

    Can someone have a look at this:
    http://www.adobe.com/go/6a620259
    and tell me if there is any solution?
    Thanks in advance
    RC

    As of this date, iI still have not found a solution to this
    problem. In, general I have had bad experiences using the loader
    component in conjunction with the progress bar component. By itself
    the loader component works fine (loading movie clips, swf's, etc..)
    but I have found that if you want a truly reliable progress bar,
    you need to make your own. I would advise against using the one
    built into flash 8. Maybe eventually, adobe will get around to
    addressing the issue with some sort of workaround or update, but I
    think in the meantime, we are on our own (and will probably have to
    wait until Flash 9).
    If you figure anything out, please share your info with me
    and good luck hunting!
    -Pecktron2000

  • Reusing progress bar component?

    I'm trying to reuse the progress bar component and it seems to not be responding. I'm can set the value to zero but everytime I try to do anything else it always sets the progress to 100%?
    progress_ldr[file.name].name_txt.text = "Resizing-" + file.name;
       //progress_ldr[file.name].progress_bar.reset;
       progress_ldr[file.name].progress_bar.source = null;
       progress_ldr[file.name].progress_bar.mode = ProgressBarMode.MANUAL;
       progress_ldr[file.name].progress_bar.minimum = 0;
       progress_ldr[file.name].progress_bar.maximum = 100;
       progress_ldr[file.name].progress_bar.value = 0;
       progress_ldr[file.name].progress_bar.setProgress(50, 100);

    No one?

  • Need progress bar component help.

    I have a huge headache from doing hours of web searching for
    what seems to be a simple solution. All I want to do is use the
    progress bar component on frame one to load my main timeline and I
    can't find a tutorial for this anywhere. Can anyone help? Thanks in
    advance,
    Joe

    You can use the progress bar Component as a preloader of
    sorts, but this doesn't work very well within the same document.
    The best way to go about doing this is to create a 'loading' swf
    file, that is the same size as the swf your main swf, then make an
    empty MC and load the swf into it and you can then use the progress
    bar Component to display the loading (or any number of other visual
    indicators) loading is best done using the MovieClipLoader class,
    where you can use it's event handlers and methods to effect the
    progress indicator, however the pbar Component has these handler
    built in as well so in this case for simplicity I'll use the
    loadMovie method (I rarely do) So with a swf the same size as the
    one you want to load, place a pbar instance on the stage with the
    instance name of 'my_pb', and create an 'actions' layer and add
    this code to the first frame:

  • URGENT: progress bar update problem

    Hi,
    I have the following problem: I have a JWindow that displays as a Splash screen at the start of my application. On that I have a progress bar that updates upto 60% (there is no task associated with it, I simply create a thread that does this). In the main thread, i wait for this thread to complete and then display a login dialog box on top of the splash screen. At this time, the progress bar is not increasing.
    After logging in correctly, I wish that the login dialog box be disposed, and i should be able to see the progress bar reach completion, after which i want a JFrame to be displayed with a lot of components, and after this JFrame is displayed, i want the splash screen to be disposed.
    However, the progress bar updates itself properly till the login dialog is displayed. when i click enter on the dialog box, although i have called dispose, the part of the dialog box over the splash screen reamins visible, and the progress bar is no longer updated. I have printed System.out.println statements in the run part of the thread doing the update, and this shows that the progress bar value goes on to reach 100. but the GUI is not updated.
    Can any1 explain why this is happening? Any help inthis matter would be highly appreciated... Pls reply URGENTLY!!! i've already spent three days looking into this!!!
    Thanks...
    Shefali Panchal

    Caution with using threads to update the display -
    look at the Swing __utility__ class methods, I seem to remember that
    there are 2 methods in which you pass a thread instance
    (which can contain display update calls)and this is called and maintained within the event despatch thread - this should mean
    that display updates are done correctly.
    Refer to Swing documentataion with regard to utility methods
    Hope this is of help

  • No progress bar on start up...

    In the last few days I've noticed there is no boot up progress bar. It starts up with the gray screen with the apple logo, then goes to a blue screen for a few moments before my desktop shows up. I seem to recall there being a OSX progress bar that used to pop up over the blue screen. Am I imagining things? And is this something that I need to be concerned about that is no longer appearing? (running 10.5.2)

    Welcome to Apple Discussions!
    I just restarted, and my MBP starts up exactly as you describe. So I think that is normal for Leopard. My iBook, running Tiger, does have a progress bar. That's probably what you remember. I seem to think there were two progress bars for Panther, one for Starting Mac OS X and another one for the firewall.

  • Progress bar on start up doesn't finish

    When I log onto my MacBook Pro after I enter my password a progress bar appears which starts to move across but only goes about 20% of the way before the desktop appears. I have heard that there has been a problem with automatic updates which don't fully install and this could be a symptom of that. Unfortunately I now get a problem where the Desktop seems to freeze and I can't select items with the trackpad. I'm not sure if the two are linked or just a coincidence.

    That is normal. If you get to the Desktop and all is working you don't have a problem. But if you do have a problem, then you need to do this:
    Try these in order testing your system after each to see if it's back to normal:
    1. a. Resetting your Mac's PRAM and NVRAM
        b. Intel-based Macs: Resetting the System Management Controller (SMC)
    2. Restart the computer in Safe Mode, then restart again, normally. If this doesn't help, then:
         Boot to the Recovery HD: Restart the computer and after the chime press and hold down the
         COMMAND and R keys until the Utilities menu screen appears. Alternatively, restart the
         computer and after the chime press and hold down the OPTION key until the boot manager
         screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    3. Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the Utilities menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu. Select Restart from the Apple menu.
    4. Reinstall Yosemite: Reboot from the Recovery HD. Select Reinstall OS X from the Utilities menu, and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible
                because it is three times faster than wireless.
    5. Reinstall Yosemite from Scratch:
    Be sure you backup your files to an external drive or second internal drive because the following procedure will remove everything from the hard drive.
    How to Clean Install OS X Yosemite
    Note: You will need an active Internet connection. I suggest using Ethernet if possible
                because it is three times faster than wireless.

  • Grey progress bar on start, then shut down.

    So I have a 27" iMac (mid 2011 I think, but not 100% sure) that's unhealthy.
    My wife had been using the machine for a few weeks.  At some point it rebooted, and when it did, it got stuck at what looks possibly like a firmware update screen?
    When it powers on I get the normal chime, followed by grey screen, followed by the Apple logo, followed by a progress bar.
    The progress bar runs until it gets about 1/16th of the way across the screen, then powers off.
    - I've reset PRAM/NVRAM and SMC.  I know NVRAM was reset because on next boot the screen resolution and default volume changed.
    - It doesn't allow be to boot off other drives/volumes (option on start or C), and trying to start in single, verbose, or safe mode doesn't seem to do anything.  Or in Recovery mode.
    - If I try to start in target disk mode (hold T on start) it will enter that mode.  If I try to start hardware diag mode, it tries, but if this system came with a hardware test disc, I don't have it anymore.  Then it just proceeds to try booting again.
    I'm assuming it's trying to do an EFI update, but that's failing for some reason.  I've read that doing a firmware restore will help, but Apple doesn't seem to produce firmware restore disks anymore?  I definitely don't see one available for download.
    Any thoughts?

    Do you have another Mac with Firewire to look at the iMac Drive or try to Repair it when it's in t mode?

  • ITunes Music Progress Bar Fails to Show Time Remaining

    I use iTunes for Windows. Suddenly, in the last two weeks, the progress bar on my iTunes screen has quit showing time remaining on a tune on the right-hand side of the bar. Throughout the tune, it shows only the full time of the tune. How can I change back to time remaining?

    If I remember right in Qt before version 7 you could get time remaining. I'm 100% in saying version 7 dropped this...You can get time remaining in the info box...

  • Progress Bar/Fast Start

    I exported a hyperlink only movie out of Keynote 3. I then inserted into my webpage. If a person clicks on the first hyperlink to go to the next slide it only goes a few frames and then freezes. There is not enough information buffered to move it along.
    What I would like is to have some kind of download progress bar that shows up below the QuickTime so people know to wait. However, I don't want to lose the hyperlinks.
    You can see it at: www.youbelong.net > journal information > instructions
    Any help would be greatly appreciated.

    Hey Granny, I love your apples.
    You could try opening your movie in QuickTime Player (Pro) and then going to the Window menu, Show Movie Properties.
    Click on the Video track to select it and then click on the "Other Settings" button in the gray area below. Check the boxes for "Preload this track" and "Cache (hint)". Repeat for the Sprite track (not sure that that's necessary though) and then save the movie...

  • Help - Grey wheel with progress bar on start up and then Macbook Pro turns of.

    So i recently bought a Macbook Pro 13 inch (the lower end). While doing my research i found the smartest thing to have a relatively fast macbook was to increase the ram. I bought http://www.newegg.com/Product/Product.aspx?Item=N82E16820148345 and installed it in my macbook pro. After starting up the macbook, i got to my login screen. However, everytime the computer would try to start up to my account, i would get a blue screen and then be brough back to my login page for the account. I assumed that the RAM was not fitted properly since my research indicated that it was most likely the problem. I re-installed the RAM sticks with more force but to no avail. Then i even switched the RAM sticks while installing to make sure that either one of my new RAM chips was not faulty but after a while, my MBP refuses to start up. I get the grey apple logo, with a spinning wheel and progress bar. The bar goes a quarter length before the laptop shuts off. I then put it in the original RAM sticks, but the same problem. Apple logo, spinning wheel, progress bar and then powers off. Any suggestions or thoughts as to what may have happened? Thank you!

    Last night the electricity went out and my power surge protector was not working so my iMac just force shut downed.
    So, when the electricity came back i turned on my Mac but it is *Stuck in the Startup/Boot Screen with a Grey Apple Logo,a Empty Progress Bar with stays for 1 or 2 minutes and a small Spinning Wheel which would Spin Forver! I Have tried the SMC and Pram reset but no use, i have also tried to insert my OS X Lion 10.7 Installation disk and it would not load if i hold the C Key in the Startup, I Have Managed to go to Disk Utility Through "Recovery HD"  but the Volume "Macintosh HD" is Greyed out and Unmounted and i cannot repair it. There are some files that i'd like to Recover if there is a way to fix it without deleting files.
    **PLEASE HELP ME FIX THIS!**
    Details about the iMac:
    iMac 21.5 Inch i think from Mid 2010,
    OS X Lion installed maybe 10.7.2 or 10.7.3 (im not sure)

Maybe you are looking for