In Flash how do you get a text field caption to show a number by a variable expression.

Doing a math game with 2 text fields for addition and 3 text fields for the user to click on and then compare to see if it was the correct answer.

Lets say you've got a 2 text fields with variable names Topb, Bottomc(I need to Set these variables to Randomize to a valur of 1 to 5 and show them in the appropiate text fields). Another layer with the expression a=b+c. Now there are three text fields with the variable names x,y, z(I need to Randomize these -5 or +5 to the value of a, and randomize which one will equal the value of a displaying the value in that particular text box. Thank You!
Who is Participating?

Improve company productivity with a Business Account.Sign Up

RoyKruyshaarConnect With a Mentor Commented:
Hi Chrisb12,

Finally, here is the url:
Here you can download a zip-file with the *.fla, *.swf and *.html of the mahgame I make.
When you have further questions, feel free to ask.

Good Luck,

chrisb12Author Commented:
Adjusted points from 200 to 300
chrisb12Author Commented:
Need help really bad really quick. Thank You!
Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to and use offer code ‘EXPERTS’ to get 10% off your first purchase.

chris -

i'd happily help you with this one but i don't understand the question. can you rephrase it, perhaps? thanks!

I think I know what you mean..
I've ge to work now, but when I came back, I shall put an example to my site for you to download.
I give you a answer when it's there. Please wait for me.
I've got a solution for you. From here I cannot FTP so, when I got home (within 3 hours) I put the files on my web-site, so that you ca download them.
Please be patient.
Well Chrisb12, does it work like you want to?
chrisb12Author Commented:
Sorry I thought I gave you the points before and what does PAQ mean?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.