Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: downloading ... |
From: | Zohar Laor |
Date: | Thu, 25 May 2000 19:10:13 +0100 |
>
> 4JD1N B451C wrote:
> >
> > how does flash download/stream. does it download
> the entire .swf file
That is a very good question.
Flash downloads the .swf file in order, form frame 1
to frame n.
If you click on a button calling frame 1000 and the
.swf only downloaded 800 frames, nothing will happen.
That is very dangerous.
What you need to do is to write a small action script
to check weather or not all the frames were
downloaded.
Here is an example:
1) on your first frame of your preloader label it -
startLoop
2) creat a frame and put in the following script:
Set Variable: "loadedFrames" = GetProperty ( "/",
_framesloaded)
Set Variable: "totalFrames" = GetProperty (" /",
_totalframes )
If (loadedFrames < totalFrames)
Go to and Play ("startLoop")
Else
Go to and Play ("allLoaded")
End If
3) on the next frame creat a label called - allLoaded
That's it. Your movie will loop around in the
preloader until all of the frames are loaded.
Hoped I helped.
Zohar.
web site: http://www.kalel.com
Art Collection: http://www.kalel.com/superart
__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
World Animation Celebration - Big Internet Animation Pow Wow Discount Offer
Register before May 25 mention flasher and save 25%!! www.wacfest.com
Be discovered, get a job or have your web series picked up. A big talent search for Shockwave
and Flash animators is happening May 30-June 4 in Hollywood. Featuring Rob Burgess, Matt
Groening, Brad Bird and more. www.wacfest.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]