Flasher Archive

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


Subject: Re: FLASH: percentage loader
From: oliver b�hm
Date: Sat, 9 Oct 1999 20:35:25 +0100

At 13:53 08.10.99 +0200, you wrote:

Hi lasse.
here is a more elegant way for flash 4 (think about plugin)

If (_framesloaded >= _totalframes)
Go to and Play (Scene 1, "start")
Else
Set Property ("/loader", X Scale) = (_framesloaded /
_totalframes)*_totalframes*5
End If

loader: Is an animation about the count of frames used in your movie
the multiplication is just to adjust the length of the loader animation.

But unfortunatly if you use MC's (movieclips) there are many frames to
load but your
loader show's only one frame
hope that helps
oliver







>now ive tried them all i think... i just tried this example to make a
>percentage loader...that should aniomate from frame to frame with a goto
>and play frame action but it just skips ahead without animating and sticks
>at 80%...i can�t get it..what am i doing wrong..i made it just as the text
>describes..
>
>Creating a Loading Bar
> Create an MC symbol of your bar filling up. Divide the animation
>into sections -
> for example the bar going from 0% full to 25%, then 25% to 50%.
>Put a stop
> action at the end of each animated section, you can also label the
>starting frame
> of each section. At the end of the final animation, ie when the
>loading bar has
> filled up to 100% you can send a command back to the main timeline
>to move
> onto the main section of the movie:
>
> Tell Target
> _Level0
> Goto Frame and Play
> Frame No (or use labels)
>
> Drop the bar MC into the loading animation section of the main
>timeline, name
> the instance, and create an 'If Frame is Loaded' Loop as detailed
>above, except
> we can add one check for each point of the bar's growth, and if
>the check is
> succesful we can use the 'Tell Target' command to play the
>relevant labelled
> portion of the MC:
>
> If Frame Is Loaded
> Main Timeline, Frame X
> Tell Target
> Loading Bar MC
> Goto and Play
> 25%-50% animation label
> End Tell Target
>
> If Frame Is Loaded
> Main Timeline, Frame 2X
> Tell Target
> Loading Bar MC
> Goto and Play
> 50%-75% animation label
> End Tell Target
>
> etc
>
> Once the final 'If Frame is Loaded' check is satisfied, the MC
>will play the final
> animation before returning the command to the main timeline to go
>to the main
> section of the movie.
>
>sorry for all the text....
>can anyone help me please...im about to loose my mind over such a small
>thing...im stuck!!!
>
>regs Lasse
>
>
>flasher is generously supported by...
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>Streaming Media WEST '99 Conference & Exhibition
>"The Worlds largest Internet Audio & Video Event"
>December 7 - 9, San Jose Convention Center, California
>
>Reserve your space today at http://www.streamingmedia.com
>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>To unsubscribe or change your list settings go to
>http://www.chinwag.com/flasher or email helpatchinwag [dot] com
>



flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: percentage loader, lasse

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