В первый кадр соответственно.
Надеюсь понятно как его под свои нужды подстроить

Код:
this.createEmptyMovieClip("but", 1);
but.beginFill(0x000000, 0);
but.lineStyle(1, 0xFF00FF, 0);
but.moveTo(0, 0);
but.lineTo(0, 100);
but.lineTo(100, 100);
but.lineTo(100, 0);
but.lineTo(0, 0);
but.endFill();
x = 100;
y = 100;
_root.createTextField("tf",_root.getNextHighestDepth(),x,y,1,1);
_root.tf.autoSize = true;
_root.tf.selectable = false;
_root.tf.text = "My button text";
but._x = _root.tf._x;
but._y = _root.tf._y;
but._xscale = _root.tf._width;
but._yscale = _root.tf._height;
but.onPress= function(){
trace ("_root.tf.text");
}