Flasher Archive

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


Subject: Re: FLASH: flash script
From: John Croteau
Date: Sun, 10 Oct 1999 06:23:53 +0100

Hi John,

> On (Press)
> Set Variable: "savingsbalance" = Principal * (1 + ( ( Rate ) / (
> Compound Period ) ) ) ^ ( ( Term * Compound Period) )
> End On
> but Flash does not like this ^ sign does any one know of a replacement
You need to do this in JavaScript or with a server side script using
send and Load variables.

If you need this to work without external scripting then you need to
have the Term and the Compound periods limited only to whole numbers. If
you allow non-integers to be entered then they will be truncated and
produce inaccurate results.

Set Variable: "Balance" = Principle
Set Variable: "i" = 1
Loop While (i <= Term * Period)
Set Variable: "Balance" = (Balance * (1 + Rate/Period))
Set Variable: "i" = i + 1
End Loop



--
Coming Soon Flash 4 Web Animation F/X and Design
http://www.amazon.com/exec/obidos/ASIN/1576105555/flashcentral
----------- -----------------------
John Croteau croteauaterols [dot] com (mailto:croteauaterols [dot] com)
------------- -------------------------
FlashTek (Advanced Websites with Flash) http://www.FlashTek.com/
Flash Bible (Fast track to good Flash) http://www.FlashBible.com/
Flash Central(The Universe Starts Here) http://www.FlashCentral.com/
The Flash Tech Resource (Tech Notes) http://www.FlashCentral.com/tech/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


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: flash script, John Norman

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