AS3.0 Loading SWF buttons

Hello,

I have a Flash 9 SWF library with a button in it. I had to convert it to a MovieClip to “Embed” it into a Flex application. It works fine, but plays as a MC, so I have to re-create the button’s behaivior using AddEventListener’s. Did I need to convert it? Is it possible to bring in buttons as Button, not MovieClip?

There is a TextField in each frame. I want to change the text in the TF. When on the first frame, I can get to it via:

TextField(button1.getChildByName(“TF name”)).text = “test”;

However, when I loop through the frames (via gotoAndStop()), I get an “null object” error when trying to access the TF.

Any thoughts?