Answered
Changing text inside a button
I made a button with a dynamic text field inside it and i'm
trying to make the text change at runtime, someting like:
for (i=0; i< myCount; i++) {
duplicateMovieClip(item, "myButton"+i, this.getNextHighestDepth());
this["myButton"+i].myDynamicText.text = Description ;
}
But it doesn't work... can anybody tell me what am doing wrong?
for (i=0; i< myCount; i++) {
duplicateMovieClip(item, "myButton"+i, this.getNextHighestDepth());
this["myButton"+i].myDynamicText.text = Description ;
}
But it doesn't work... can anybody tell me what am doing wrong?