Flasher Archive

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


Subject: FLASH: Getting variables from MCs
From: James Cutts
Date: Mon, 4 Sep 2000 13:35:06 +0100

Hi all

Can anyone help me with my little action-scripting question:

I have a main time-line ('movie') with 10 MCs strung along it with instances
of QI - Q10.

Each of these MCs allows the user to assign a value to
a variable.

The code within the MCs is:

On (Release)
Set Variable: "q1" = 1
End On

and so on up to "q10".

I then need to add these variables up.
So I have a frame at the end of the movie containing the following code:

Set Variable: "score" = q1 + q2 + q3 + q4 + q5 + q6 + q7 + q8 + q9 + q10

I then need to display the 'score' to the user so i have an editable text
field (in the last frame of the movie) with a variable of "score" which I
know is set up correctly.

Now the problem: It doesnt work. I think its because I need to specify a
path to the individual MCs to get their values but I dont know the correct
syntax.

Can anyone help?

TIA

J
----------------------------
James Cutts

d e s i g n m a n a g e r
i n o n e n e w m e d i a

Tel: +44 (0)20 7978 6500
jamesatinone [dot] co [dot] uk
http://www.inone.co.uk



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: Getting variables from MCs <http:, James Cutts

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