PDA

View Full Version : I just want a simple preloader


Insomnia
04-19-2001, 06:40 AM
I had posted my guestion before... (Before my Flash 5 crashed and I had to reformat my HD and reinstall EVERYthing.)

Well, her it is again:
I don't know what it takes to make a preloader *work* for a site interface. All the instructions I've found deal with "movies". I've got a GUI.

I don't know if I place the preloader in the "edit movie mode or in "edit symbols" mode, in which my GUI sits -- in one frame, four layers. I only have one scene for the entire project. I tried dropping my preloader movie symbol in the first two frames, my third being the GUI frames, with all the looping and last frame actions all in place.

I think I need an example file so I can *see* how it's done.

Thanks for any assistance that will get me through this! It's my first preloader and it's been HELL so far cause I can only connect at 50,666 bps TOPS (if at all), to test it!

Insomnia
04-19-2001, 07:12 AM
Hi, If this helps, these are the instructions I was following:
http://www.macromedia.com/support/flash/publishexport/stream_optimize/

(And I did follow them exactly ;-)

mad_A
04-19-2001, 10:08 AM
If you know the frame number you want to have loaded (say frame 5 for this example) before going out of the preroller put the following on the third frame:

if (_framesloaded>5) {
gotoAndStop (5);
} else {
gotoAndPlay (1);
}

On frames one to three you can put 3 sequenced graphics saying content is loading. eg:

(1) loading.
(2) loading..
(3) loading...

Insomnia
04-19-2001, 12:10 PM
I've tried over a half dosen examples of preoladers. I can't get any to work!

I dont know, maybe my problem is that I've got a GUI, not a movie, all the help site files I've found only deal with movies. I've only got one frame in movie mode, only one scene, (I forget how to do multiple scenes NEways). 'Thing is, my four GUI layers are one of my tweens.

Here's my page "with a preloader":
http://nautilus.shore.net/~tcooney/starbase10/pages/gui_flash.html

I think I've got a unique project here.
Can someone just be my hero and push me a flash file that I can import into my file so I see how it works and publishes?

Just for reference, these didn't work for me in my file:

http://www.actionscripts.org/tutorials/intermediate/flash5_preloaders/index.shtml#

http://www.macromedia.com/support/flash/publishexport/stream_optimize/ (under "Optimizing movies by preloading frames")
(then: "If you're using Flash 5, see Flash Tech Note 12588")

mad_A
04-19-2001, 12:32 PM
If you want to send me the fla I'll sort it out for you. Not doing anything for the next hour or so anyway.

A

oh yeah..
andrew_madigan@smartforce.com

Insomnia
04-19-2001, 01:06 PM
I sent the file. Just a warning, It's like 1100 kb so if it doesn't get to you let me know and maybe I can FTP it to you or something (?).

Thanks a million.
Tommy,

tcooney@primushost.com

mad_A
04-19-2001, 02:09 PM
I've got it working and have sent it to you.

In case anyone else wants a different preroller...


if (_framesloaded ==_totalframes) {
gotoAndPlay (3);
}else {
gotoAndPlay (1);
}

is a pretty easy one.

regards