A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Pre Loader for Stand Alone Player

  1. #1
    Animal Flasher RobbieC's Avatar
    Join Date
    Aug 2001
    Location
    England
    Posts
    242

    Pre Loader for Stand Alone Player

    I have been making a stand alone movie which is fairly graphics intensive and has lots of sound and transitions etc. This has made the file fairly sizable (around 100Mb), but as it is for a CD Rom and not for web, file size doesn't really matter - or so I thought!

    I've been testing the file on various PC's and Macs and even though it's running from the CD, it seems to take ages to load - giving the impression that the computer has crashed! This is not really the desired result.

    I've been experimenting with pre-loading files, but it doesn't really make any difference, if the pre-loader appears at all!

    Does anyone have any ideas as to what I can do to get a pre-loader working?

    Cheers.

    Rob.

  2. #2
    Junior Member
    Join Date
    Feb 2002
    Posts
    13
    I would break your file into several different swfs -- possibly at the transitions you mentioned. Then load and unload them as needed. For example, you could start with an exe that will be running at level 0. Then use loadMovieNum to load swfs into and out of higher levels (or 0 if you want).

  3. #3
    Senior Member Dead Rabbit's Avatar
    Join Date
    Oct 2002
    Location
    Back in Tampa FLA again - and happy!
    Posts
    2,403
    The projector itself (the .exe) has to be read into memory entirely before it will play. If you are using a 3rd party tool, nearly all will decompress/copy the files to a temp folder on the hard drive before execution.

    The only way to make a preloader is to do what Huah suggested. If you want a preloader look, make the preloader the same dimensions as the movie, then use a basic animation (percentage/loader bars won't work). Use Load Movie to load the main (.swf) movie and let it stream from the CD.
    While changing my profile, I accidentally clicked the link that said
    "Add 'Dead Rabbit' to your Ignore List"
    so now I can't talk to myself anymore...

    The Repository -:- The Forum

  4. #4
    Animal Flasher RobbieC's Avatar
    Join Date
    Aug 2001
    Location
    England
    Posts
    242
    Thanks for that, I'll look into making a small standalone player that will stream the main file into it.

    Cheers

    Rob.

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