Action Script ?
- Started
- Last post
- 4 Responses
- ibye
I have a dynamic text field and I just want to make it say different things as you click it.
right now I have nothing in the field and then you click on an object and it says "hi my name is bob" How do I make it so when you click on it again, it says something else?
(here is the code I have already)thanks
--------------------------------...on (release) {
this._parent.copy_txt.text = "Hi, my name is bob"
}
- Mimio0
Hey there Tex,(trigger finger busted?) Assign another button another string, or increment another variable to grab a new string from an array.
- ibye0
yeah a little quick on the draw actually, thanks, I'm just learning advanced actionscript, so I don't fully get what to do by your suggestion, but it is a start. thanks
- Mimio0
Check this out:
http://www.kirupa.com/developer/…Use your buttons to retrieve the strings(messages) from an array.
- ibye0
Awesome, that breaks it down nicely. Thanks again.