Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: Preload Problem
From: Randy Kato
Date: Thu, 29 Jun 2000 16:12:56 +0100

Flash,

You are apparently getting the correct percentages by frame, but if you
want to adjust it for percentages by total file size, one way would be
to check your bandwidth profiler and do a little math to figure out
which frames actually correspond to the proper percentages. Then just
change the frame numbers in the actionscript you already have.

HTH,
Randy


Flash Casey wrote:

> I have a preloader and it displays the percent of the
> movie that is loaded.
>
> I use a if statement that looks like this
>
> If Frame Is Loaded (70)
> Set Variable: "percent" = "20%"
> End Frame Loaded
>
> If Frame Is Loaded (110)
> Set Variable: "percent" = "40%"
> End Frame Loaded
>
> If Frame Is Loaded (150)
> Set Variable: "percent" = "60%"
> End Frame Loaded
>
> If Frame Is Loaded (190)
> Set Variable: "percent" = "80%"
> End Frame Loaded
>
> If Frame Is Loaded (230)
> Set Variable: "percent" = "100%"
> Go to and Play (94)
> End Frame Loaded
>
> the problem is that it sometimes jumps from say 20 to
> 60. I know why it does this i think i just dont know
> how to fix it.
>
> The reason I beleive is that some frames dont have
> anything to load just a couple 'k' but on say frame 40
> there is a image that takes 40k so to have frame 40
> loaded will take alot longer than frame 20 which only
> tweens a few small graphics.
>
> Is there an easier way to figure out what percent of
> your movie is downloaded.

--
'''''' ' ' ' ' ' ' ' ' '
Randy Kato - Web Master
Braincraft

627 Broadway, Suite 504, NYC 10012
T 212.539.1680 F 212.539.1741
http://www.braincraft.com
...... . . . . . . . . .



flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and the Flash(tm) Film Festival
July 24-26, 2000, NEW YORK CITY, Hammerstein Ballroom
www.flashforward2000.com
Produced by United Digital Artists and lynda.com
Sponsored by Macromedia, Adobe Systems, Fusion, Inc, AtomFilms,
shockwave.com and Electric Rain.
1.877.4.FLASH.4 or (1.805.640.6679 outside the US and Canada)
Register before June 30 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: Preload Problem, Flash Casey

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]