Hello Kirupa!
I’m trying to create buttons dynamically from xml data, only I want to use a real button, from my library, so that I can have up/over/down states for the button.
Basically I want to do this:
- open xml loop
- while looping, assign (attachMovie) an instance of a button from my library to a movie clip on the stage for each row in the xml data.
- BUT, I also want to dynamically assign the button text from the xml data.
And that’s were I’m stuck. Inside my button, I have a dynamic text box, and normally, I know how to change the text of a dynamic text box using actionscript, but I can’t seem to change the value of the dynamic text box inside the button.
Is this possible?