Welcome, Guest
  • Author Topic: Progress bar with Loader components  (Read 7082 times)

    embrion

    • Server what's that
    • *
    • Posts: 17
      • View Profile
    Progress bar with Loader components
    « on: 06/19/07, 16:42 »
    Hello i wanna do a photo gallery just with a loader component and buttons that change the loader contentpath.
    So i add a progress bar component and, it works fine loading the first pic in the loader, but when i click on the button, the loader starts loading the next pic, but the progress bar keeps on 100%.
    I wanna know if there´s a way i could reset the progress bar, or set the progress to 0% again to load the next pic in the same loader.
    Please help. I tried to do it with listeners but im not a programmer, so any help please be precise and send me links.
    I did this in Flash CS3 but there´s also a flash 8 file.

    This is the source file
    http://www.embrionproducciones.com/gallery.zip

    Thanx

    Ronald Wernecke

    • Global Moderator
    • Systems Administrator
    • *****
    • Posts: 6203
      • View Profile
      • Professional Support
      • Email
    Re: Progress bar with Loader components
    « Reply #1 on: 06/20/07, 02:02 »
    If you hit the button, you have to restart (initialize)  the progressbar
    happy flashing
    8)
    Ronald

    embrion

    • Server what's that
    • *
    • Posts: 17
      • View Profile
    Re: Progress bar with Loader components
    « Reply #2 on: 06/20/07, 09:16 »
    yeah i know... but how?

    Andresss

    • Systems Administrator
    • *****
    • Posts: 738
    • check me out at www.asb-labs.com/blog
      • View Profile
      • asb-labs
      • Email
    Re: Progress bar with Loader components
    « Reply #3 on: 06/20/07, 21:24 »
    well in such case use "manual" and also setProgress(0,100) to set the bar to 0...

    cheers!!
    halemos de flash en espaņol!....wondering about crazy flash experiments?

    embrion

    • Server what's that
    • *
    • Posts: 17
      • View Profile
    Re: Progress bar with Loader components
    « Reply #4 on: 06/21/07, 01:03 »
    yeah i tried with that but doesnt seems to affect the progress bar, i mean can u show me the actual programation like progressbar.complete and then set progress and manual. Please. thanx