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

Posted on 2000-04-17
Last Modified: 2010-04-03
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!
Question by:chrisb12
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3

Author Comment

ID: 2723608
Adjusted points from 200 to 300

Author Comment

ID: 2723609
Need help really bad really quick. Thank You!

Expert Comment

ID: 2725487
chris -

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Expert Comment

ID: 2725602
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.

Expert Comment

ID: 2726762
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.

Accepted Solution

RoyKruyshaar earned 300 total points
ID: 2727400
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,


Expert Comment

ID: 2737116
Well Chrisb12, does it work like you want to?

Author Comment

ID: 2763182
Sorry I thought I gave you the points before and what does PAQ mean?

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.
Suggested Courses

628 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question