Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | Re: FLASH: using variables |
| From: | Karin Christensen |
| Date: | Thu, 22 Jul 1999 00:58:03 +0100 |
>When you assign a new value to the variable that displays in your
text
>field, you need to target the variable in the variable space where it
>exists. In other words:
>
>If the text field is on the main timeline, and you're sending it a
new
>value from a button in a movie clip, then the action in the button
needs to
>be Set Variable and the variable name should be /:variable_name.
>
>If the text field is in the same movie clip as the button, then you
should
>do a Set Variable with a name of variable_name.
>
Hi Dave,
I set up the action like you said: Set Variable /:variable_name from
the movie clip to add or subtract a value in the text field on the
main time line. When the "mouse on" is released it sets the number in
the right place but does not add or subtract. When a game piece is
placed on safe squares the player gets one point when it is placed on
unsafe squares they get a minus 3 or minus 5 points. But all I can
get to work is a 1 or a -3 or a -5 in the text field. I am going to
try to use a controller movie clip when I "hang up" here and see if
that will work.
Karin
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manager
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-manager
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

