Ok guys, I ran into this problem before and alway manage to find a way around it.
I’m messing around with an XML menu. Usually I make a button movieClip in which there is a dynamic text field and I give it an instance name of txt or something. In this case I have no problem setting the text of that text field to what is read from the XML file. Something like this: btns[i].txt = ...Here what I read from the XML …
Now if I make a button movieClip and I make another movieClip inside this button movieClip (let’s call it inside for now) and inside that movie clip I place the dynamic textfield with an instance name txt. Can I just do this: btns[i].inside.txt = ...Here what I read from the XML …
Cause this doesn’t seem to work for me and I was curious to know if it is possible at all. If it is, then I’m doing something else wrong. But if it isn’t possible, then I don’t have to look any further.
Cheers in advance!
Extra: btw don’t know if it’s important but anyways. The btns[i] is an instance of a btn (button of course) movieclip which is attached to the stage using the attachMovie method.
Posted 2 months ago










