This content has been marked as final. Show 5 replies
if you're using a true button, flash changes the name of your textfield to instanceN. while that can be used, the best solution is to use a movieclip button and not a true button.
Thanks kglad. Can I just make the text in the Up state within the button a movieclip and navigate to it as follows:
Will Flash still change the dynamic text instance to instanceN?
all objects on a true button's timeline are renamed.
I've tried using instanceN as follows, but it does not work for the trace statement:
...nor does it work to change the dynamic text property:
var myBtn:TextFormat = new TextFormat();
myBtn.color = 0x000000;
Thanks for your help thus far. I'm trying to avoid changing all my buttons to movieclips.
N is a positive integer assigned by flash. it's discoverable, but can change during the time you're creating your swf so it's not prudent to use it.