# Font embed Problem in button symbol

**URL:** <https://forum.kirupa.com/t/font-embed-problem-in-button-symbol/285013>\
**Category:** flash\
**Created:** [March 26, 2009, 4:37am UTC](https://forum.kirupa.com/t/font-embed-problem-in-button-symbol/285013 "2009-03-26T04:37:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vjn\_23](https://avatars.discourse-cdn.com/v4/letter/v/9de0a6/32.png) [@vjn\_23](https://forum.kirupa.com/u/vjn_23)\
**Post date:** [March 26, 2009, 4:37am UTC](https://forum.kirupa.com/t/font-embed-problem-in-button-symbol/285013/1 "2009-03-26T04:37:07Z")

</div>

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
