Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Example of SetVariable was [Re: FLASH: Importing text from file] |
From: | 2Nerotik |
Date: | Mon, 22 Nov 1999 16:45:56 GMT |
Well I'm not sure just how well I can explain this but I do have an
example at http://www.nisa.net/~2nerotik/Flash4/FlashCount.html
The count down is done by setting the date in the JavaScript that
you want the count down/up to start from. The JavaScript then does
the calculations with a timeout so that the function keeps repeating
and updating the calculations.
There is a FSCommand that then takes the calculation from the JavaScript
and sends the numbers to the Flash movie via the SetVariable.
The Flash movie consists of 2 KeyFrames, both contain the text box needed
to display the variable sent to Flash. The 1st frame does the call to the
FSCommand while the 2nd Keyframe just points back to the 1st Keyframe
to create a loop and update the count down/up with the new numbers.
The whole thing is downloadable here:
http://www.nisa.net/~2nerotik/Flash4/FlashCount.zip
HTH explain it a little better.
At 11:30 AM 11/22/99 +0100, Fridiric Pierron / Blast Interaction wrote:
>Hi Niklas,
>
>Can you explain a little bit ? Do you have a small example ?
>
>F
>
>
> > or you can set the variables using SetVariable() from javascript to set
>any
> > variable inside flash.
> >
> > /niklas
.oOo.
|| Outside of a dog, a book is man's best friend.
|| Inside of a dog, it's too dark to read.
||
|| Addicted 2 Swing ---> http://www.nisa.net/~2nerotik/
|| Fontaholic ? ---> http://www.fontsanon.com
|| HTML Writers Guild ---> http://www.hwg.org
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 helpchinwag [dot] com
Replies
FLASH: Importing text from file, Dirk Dulfer
Re: FLASH: Importing text from file, Tai
Re: FLASH: Importing text from file, Niklas Gustavsson
Re: FLASH: Importing text from file, Fr�d�ric Pierron / Blast
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]