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 9 of 9

Thread: progress bar

  1. #1
    New to the CF scene
    Join Date
    Mar 2009
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts

    progress bar

    I have a relatively large flash file that contains an entire website. Visitors have to wait for the whole site to finish loading before they can view the site. How can I brake up the site into smaller files so that it only loads the home page first and not the entire site? Or better yet, how can I make the progress bar look like it reached 100% even though it may only have loaded 30% of the whole site? This way the visitor can view the home page first while the rest of the site is still loading. Or is there a different way to approach this? THIS BY THE WAY IS IN ACTION SCRIPT 3.0. Thanks in advance.
    Last edited by dantes; 05-06-2009 at 07:47 PM.

  • #2
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    jeremy - gnomeontherun
    Educated questions often get educated answers, and simple questions often get simple answers.

  • #3
    New to the CF scene
    Join Date
    Mar 2009
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I'm not looking to build a preloader. I have one done, I'm looking to brake the flash file down into little files so that the home page will load faster. Right now it's loading the whole site instead of just loading the home page. THE WHOLE SITE IS ONE FLASH FILE

  • #4
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    So you could break each section into its own SWF, and then load them only when they are needed. That would reduce the load time initially but increase it throughout. This can be difficult though if you created everything in one file, to split it up can be a lot of work since the linkage will be broken (depending on how large the site is).

    Is it graphic intensive? Perhaps there are ways to also compress things?
    jeremy - gnomeontherun
    Educated questions often get educated answers, and simple questions often get simple answers.

  • #5
    New to the CF scene
    Join Date
    Mar 2009
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hmmm.. Im not sure this is the way I want to go. If you can.. Take a look at this site...http://www.ninthdegree.com/. For some reason it looks as if the whole site is under one flash file even when you click the links it just jumps into different timelines. But the initial page is broken down into a few different portions and each have their own progress bar and thus makes the site load faster. How did they do it?

  • #6
    New to the CF scene
    Join Date
    May 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Different swf files

    They must be loading different .swf files into their own container clip to achieve that. Doubtful it's all one fla.

  • #7
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    scottyp2 is right, they have made a main container and then load the inner part for each page.

    They are using this command with some fancy implementations.

    http://livedocs.adobe.com/flash/9.0/...=00001189.html
    jeremy - gnomeontherun
    Educated questions often get educated answers, and simple questions often get simple answers.

  • #8
    New to the CF scene
    Join Date
    Mar 2009
    Posts
    9
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I see. Thank you for your responses. As for the container....I don't even know where to begin with that. Not really that advanced in Flash and the link http://livedocs.adobe.com/flash/9.0/...=00001189.html did not work. Thanks anyway.

  • #9
    Senior Coder gnomeontherun's Avatar
    Join Date
    Sep 2007
    Location
    Houston
    Posts
    2,846
    Thanks
    10
    Thanked 238 Times in 229 Posts
    Strange, the forum cut my URL. Its a link to the loadMovie function on the Flash documentation.
    jeremy - gnomeontherun
    Educated questions often get educated answers, and simple questions often get simple answers.


  •  

    Posting Permissions

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