|
-
noob on dynamic textboxes
yeah!!! hello!
after....weeks of wondering how dynamic boxes work,
i finally had the opprtunity of making my lazy fingers
type this in:
how the heck do you make dynamic textboxes work!?
i mean a dynamic textbox can show the value of
a certain variable...
(like say, damage = 9999, a dyanamic text would appear 9999)
but i cant do it!
heheh, how is it done?
thnx a bunch!!
"Are those gummy worms? Can I have some?"
"Nevermind, I just saw one move by itself..."
-
Senior Member
The easiest way to do it is to place the dynamic textbox in the same timeline as your variable. then in the properties inspector for the textbox fill in the var field with the name of the variable.
the slightly better way to do it is to give the dynamic textbox an instance name and then each time you change the value of damage display it in the textfield using,
instanceNameOfYourTextfield.text = damage;
-
haha tnx, all i had to do was place it in the
same as my variable!
lol, tnx a bunch!
"Are those gummy worms? Can I have some?"
"Nevermind, I just saw one move by itself..."
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|