Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: Preload example??? |
| From: | Marc Hoffman |
| Date: | Sat, 15 Aug 1998 22:58:47 +0100 |
At 04:01 PM 8/15/98 -0400, you wrote:
>Is there a good, simple, straightforward example of a preload somewhere
>on the Web or does anyone have an example they could put up for
>downloading..?? I'd appreciate it.
>
>thanks Kim
>
Hi Kim.
I just sent a fellow Flasher my method for If Frame Loaded. Don't know if
what you want is more like this, or more like an example of a cool preload
animation. But here it is, for what it's worth:
USING "IF FRAME IS LOADED"
Using "If Frame Is Loaded" is a technique that's definitely worth knowing,
and it's not too hard. Use labels rather than frame numbers. (I routinely
have a layer called "actions" and one or two called "labels" -- if labels
are close together, staggering them on two layers makes their captions
readable). In Flash3, Wait for frame is called If Frame Is Loaded.
Decide where the animation (the sequence that needs to run without a hitch)
starts. Label that frame "start." Decide on a segment just before that
which you can loop. At the start of the loop sequence, label the frame
"check." At the end, just before the "start" frame, label the frame"loop
back." (These labels can be anything; I've got my own system so I don't
have to get creative or rack my brains remembering what I called things).
Then figure out how much of the animation must be loaded before streaming
(Test Movie with Bandwidth Profiler displayed as "Frame by Frame" or some
such designation: this will show you how fast the animation streams and
will give you an idea how much buffer you should allow to load). Label
that frame "loaded." The idea is that if "loaded" is loaded when the
animation starts streaming, the rest of the animation will be loaded by the
time it is called into play. To be absolutely safe, you could just label
the last frame of the sequence "loaded," but this is almost always overkill.
Here are the actions:
In "check" frame:
If Frame Is Loaded (frame: "loaded")
Go To and Play (frame: "start")
End If Frame
Play
In "loop back"
Go to and play(frame: "check")
In "start" frame:
Play (just to be safe, I always put this in; Flash is sometimes dumb about
continuing)
That's it. Longer to explain than to accomplish.
Good luck. I'd be interested to see your results.
Marc Hoffman
marchof
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Create your own music at the Poison Dart Frog Music
Digital Audio Playground: http://www.jps.net/dartfrog
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manager
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manager
Replies
Re: Preload example???, John Croteau
Replies
Preload example???, Kimberly Slack
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

