Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Buttons That Add Up |
From: | Cheri Harder |
Date: | Wed, 4 Aug 1999 01:52:27 +0100 |
Hi, had to ask my 16-year old son on this one. <grin>
Use 1, 2, 4, 8 for the On #'s and 0 for the off's, thus if all are off you
have total of 0, if #1 is on, total = 1, #2 is on, total=2, #1 & 2 are on,
total=3, etc...etc...all are on, total=15, therefore 16 different totals
(0 - 15)
However, there is no frame 0. Hmmmm. But you could start with 1 and add
the total of the button-variables to 1 and go to that frame. That made
sense to ME but don't know if it translated well to actual words.
Either that, or just do your 10 11 100 etc...and give your frames the labels
of 10 11 100 etc instead of "going to" by frame #....
HTH
Cheri
> Well, I'm having some math problems.
>
> I have four different buttons on my main screen, and a fifth movie on the
> screen that represents the first four "added up". (The first four contain
> images of sound waves, the fifth is what happens when certain of the waves
> are added together).
>
> Of course, each of the top four can be on or off. That leads to a total of
> 16 possible waveforms for the fifth movie at the bottom.
>
> I was going to have the top four buttons behave like this:
>
> Button 1: Add 1 if the sound is on, Subtract 1 if it is off.
> Button 2: Add 10 if the sound is on, Subtract 10 if it is off.
> Button 3: Add 100 if the sound is on, Subtract 100 if it is off.
> Button 4: Add 1000 if the sound is on, Subtract 1000 if it is off.
>
> Then, I need to manipulate the resulting value in such a way that it
> becomes a number between 1 and 16 -- to direct the fifth movie to go to
and
> stop at one of the 16 key frames it has.
>
> The problem is getting a final number that is 1 thru 16. I mean, I could
> make a key frame at 1, at 10, 11, 100, 101, 110, 111, and so on, but that
> seems ridiculous.
>
> Can anyone help, please?
> Thanks,
> Paul Kaiser
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-managershocker [dot] com. Problems to: ownershocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-managershocker [dot] com
Replies
Re: FLASH: FLASH 4.5 Brainstorm!, John Croteau
Re: FLASH: FLASH 4.5 Brainstorm!, Arcanus
FLASH: Buttons That Add Up, Paul Kaiser
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]