Font embed Problem in button symbol

hi Friends,

i have one doubt in flash cs3. now i am using one button symbol, it has one dynamic text box.

what now, i want embed the textbox text. for ex:

Create one button symbol(instant name is: myBox), then inside of the symbol create one dynamic text box(name is: txt_box).

i am using this code in stage first frame :

var txt_format:TextFormat = new TextFormat();
txt_format.font = “myBookFlip_Font”;
var my_text1:TextField = _root.myBox.txt_box;
my_text1.embedFonts = true;
my_text1.text = “My name is”;
my_text1.antiAliasType = “advanced”;
my_text1.setTextFormat(txt_format);

how can i solve this problem. if its possible please mention the code

please solve the font embed inside of the button symbol…

thank you,

vjn_23