A Flash Developer Resource Site

Results 1 to 17 of 17

Thread: GOOD preloader in the same movie file?

  1. #1
    Professional Air Guitarist Frag's Avatar
    Join Date
    Dec 2002
    Location
    Brain, Body, Clothes, Computer Chair, Room, House, Neighborhood, City, State, Country, Continent, World, Galaxy, Universe, and on?
    Posts
    811

    GOOD preloader in the same movie file?

    I've been using oldnewbie's preloader, and it works fine, its just that it's a pain to have to make two files for every movie!

    Anyone know of a good preloader for large files (2.5 mb)?

    I tried my own and the percent loaded didn't show up until the movie was 68% loaded!

  2. #2
    Member
    Join Date
    Feb 2003
    Posts
    34
    U could actualy alter the code in his preloader so u could have the code inside ur movie then u wouldnt need the two files.
    U could just have the code inside a empty MC and load that from ur gallery when u needed it.
    Im not gonna go into it though but it can be done.

  3. #3
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,151
    If you use components or attached files they are always going to load first, I guess thats why you need to use a separate loader. Dont think there is another way but using a swf shell that loads the main swf.

    -Pelle Piano
    // Image Gallery
    www.studiobild.com
    // Photo Blog
    http://talesofthepixel.blogspot.com

  4. #4
    Professional Air Guitarist Frag's Avatar
    Join Date
    Dec 2002
    Location
    Brain, Body, Clothes, Computer Chair, Room, House, Neighborhood, City, State, Country, Continent, World, Galaxy, Universe, and on?
    Posts
    811
    Well that's a bummer!

    Maybe Macromedia will do me a favor and make the first frame of a movie appear when the page is loaded

  5. #5
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Mine is a workaround when using components, exports on the first frame stuff, and/or embedding fonts.

    You can uncheck all of your exports on first frame stuff (all elements of components that uses them), and then drag an instance of the component used in unseen frames between your preloader and main scene. It's in the end, more work than using a 2nd seperate preloader movie, but the choice is your's!

  6. #6
    Professional Air Guitarist Frag's Avatar
    Join Date
    Dec 2002
    Location
    Brain, Body, Clothes, Computer Chair, Room, House, Neighborhood, City, State, Country, Continent, World, Galaxy, Universe, and on?
    Posts
    811
    I don't understand

    Can you post an FLA? I would be very greatful

  7. #7
    Guess What
    Join Date
    Apr 2003
    Location
    Toronto
    Posts
    186
    why dont you do calculate bytes ??
    you've asked for it don't be pissed

  8. #8
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Are you using components, exports on the first frame stuff, and/or embedding fonts, in your movie?

  9. #9
    Professional Air Guitarist Frag's Avatar
    Join Date
    Dec 2002
    Location
    Brain, Body, Clothes, Computer Chair, Room, House, Neighborhood, City, State, Country, Continent, World, Galaxy, Universe, and on?
    Posts
    811
    Came back to this after having trouble again...

    Yes, I'm embedding fonts but thats it.

  10. #10
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    No attached sounds?

  11. #11
    Professional Air Guitarist Frag's Avatar
    Join Date
    Dec 2002
    Location
    Brain, Body, Clothes, Computer Chair, Room, House, Neighborhood, City, State, Country, Continent, World, Galaxy, Universe, and on?
    Posts
    811
    Hmmm...

    There are sounds but they aren't exported for AS

  12. #12
    Professional Air Guitarist Frag's Avatar
    Join Date
    Dec 2002
    Location
    Brain, Body, Clothes, Computer Chair, Room, House, Neighborhood, City, State, Country, Continent, World, Galaxy, Universe, and on?
    Posts
    811

    BUMP


  13. #13
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    A lot of bumpers tonight!

  14. #14
    Professional Air Guitarist Frag's Avatar
    Join Date
    Dec 2002
    Location
    Brain, Body, Clothes, Computer Chair, Room, House, Neighborhood, City, State, Country, Continent, World, Galaxy, Universe, and on?
    Posts
    811
    Yea, but no replies!

  15. #15
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    I'm replying! What'd you expect? It's Friday night! What are you doing up so late?
    Yeah, right! It's 3 hours earlier where you are... But still!

  16. #16
    Professional Air Guitarist Frag's Avatar
    Join Date
    Dec 2002
    Location
    Brain, Body, Clothes, Computer Chair, Room, House, Neighborhood, City, State, Country, Continent, World, Galaxy, Universe, and on?
    Posts
    811
    Hehe, everyone else is out doing stuff! I need to get v2 of my site up before school starts...and only 13 days left to do it!

  17. #17
    Banned
    Join Date
    Apr 2001
    Location
    Montréal, Québec.
    Posts
    25,397
    Listen! You don't need to create two files for every loaded movie. You simply need two files to load your main interface movie if and only if you use components, Export on the first frame stuff, and/or embed fonts in your main interface movie. After that if you use a generic preloader within the main movie, you don't need to build 2 files for every loaded movie.

    You'll find such a generic preloader in this thread...

    http://www.flashkit.com/board/showth...hreadid=456020

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center