PDA

View Full Version : Urgent flash help



MrPinkPanther
16-01-2009, 05:07 PM
Ok so I have a textbox with the variable name "Var_box" and I want the text to be the variable Var1Var2.

So for example:
Var1 = User
Var2 = George
UserGeorge = "My name is george"

So then Var_box would write "My name is george"

You obviously cant say Var_box = Var1 + Var2 otherwise Var_box would write "UserGeorge" not "My name is george".

Any ideas what to do?

Jackboy
16-01-2009, 09:02 PM
My name is var2 ?

Colin-Roberts
16-01-2009, 09:32 PM
You can format in text boxes in flash why couldn't you do:
**tries to remember flash**
Var_box = "My Name Is" Var2

MrPinkPanther
16-01-2009, 11:17 PM
You can format in text boxes in flash why couldn't you do:
**tries to remember flash**
Var_box = "My Name Is" Var2
Its a little more complicated than that, its just I havent programmed in Flash in ages.

Sorry I explained it poorly.

Basically in an external text document I have a series of variables such as:
userGeorge = George LocationGeorge = London ageGeorge = 20
userZak = Zak LocationZak = Paris ageZak = 28

I wanted it so if someone entered Zak in a text box then it would pull:
Zak into the var_user text box
Paris into the var_location text box
18 into the var_age text box

I want the variable var_user to equal user + entered username if that makes sense?

Want to hide these adverts? Register an account for free!