Flasher Archive

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


Subject: FLASH: using variables
From: Karin Christensen
Date: Wed, 21 Jul 1999 01:50:55 +0100

Can anyone help me figure this out before my brain completely melts
down. I actually created a simple game in Flash 4 but I cannot get my
scoring system to work.

In another movie I successfully got a button to add 1 in a text field
everytime it is clicked. The button and variable are both in the main
timeline. I referred to the variable in that case as /:variable_name.

In the game I identify the variable from a button in a movie clip.
The only way I can get the counter to half-way work is also to
identify the variable as /:variable_name. This doesn't make sense to
me but at least it almost works in that instead of adding or
subtracting all I can get is the amount which is either a 1 or a -3
or -5 (for instance). It will not add or subtract from the current
value. Any other way of identifying the variable does not work at all.
I keep looking at it and it should work the way I did it.
I usually like to try to figure things out myself, but I I must be
missing something simple here.

Karin


------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [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-manageratshocker [dot] com


Replies
  Re: FLASH: using variables, Dave Hollinden

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