Hi All,

I'm having a slight problem I'm hoping someone has the answer to.

In one frame I'm attaching a MovieClip to the stage:
_root.attachMovie("Button0004", "newbutton",525);
trace("textfieldx is equal to "+_root.newbutton.textfieldx);

The trace doesn't return a value for _root.newbutton.textfieldx

But when I put the trace on a button and press it afterwards, it returns the correct value.

textfieldx is defined within the MovieClip "Button0004". I would think I would be able to access the value textfieldx as soon as I attach the movie.

Any thoughts on why it's not working directly after the movie is attached?

Thanks much.