[thelist] Flash buttons/ clear all?

A. Erickson amanda at gawow.com
Thu Jan 25 12:06:31 CST 2001


> If you made the buttons as movieclips instead of button symbols you could
> control the 'state' of them by switching on and off the value of variables
> and the 'tell target' command.

Hmmm... that's definitely one way to go. Thanks for the hint. Could I change
the instance behavior to "movie clip" and get the same effect?

> You could have a script on a button which checked the value of a variable
> then switched it to the opposite value (i.e. if 'on' then turn 'off' and
> vice versa) and then included some tell target commands under
> each condition
> to change the movieclip buttons to a different frame (see below).
>
> On (Release)
>     If (a = 0)
>         Begin Tell Target ("/box1")
>             Go to and Play ("on")
>         End Tell Target
>         Set Variable: "a" = "1"
>     Else If (a = 1)
>         Begin Tell Target ("/box1")
>             Go to and Play ("off")
>         End Tell Target
>         Set Variable: "a" = "0"
>    End If
> End On
>
> Hope this helps,

I think so! I'll give it a shot. Thanks so much, Philip.

- amanda





More information about the thelist mailing list