Trouble assigning a user-defined value for a var

[font=verdana, arial, helvetica][size=2]I’m creating a psychology experiment. I have a setup that adds a movie clip and then the user rates the picture. When the user clicks a button, the score will be sent to a database file using Flashstudio pro. I haven’t written the code to send to the database yet; right now I’m just trying to assign the value of the rank to a variable so it can be sent to the database.

I’m having trouble setting the value of a variable. I think it would be easier to download my fla to see what I’m trying to do rather than explain in words in this message. Below is the fla file and the actionscript file included on the first frame. I set up a few tracers. The part I’m talking about is in the _root.trialcycle.alpha movie clip on frame 6 of the main timeline.

So again, my question is how do I assign the value of the score to a variable?

[color=#0000ff]http://web.mit.edu/gmarz/Public/flash/alien_exp.fla[/color]
[color=#0000ff]http://web.mit.edu/gmarz/Public/flash/marzlovia.as[/color]

Any help would be appreciated. Thanks.[/size][/font]