# Embed font in combobox

**URL:** <https://forum.kirupa.com/t/embed-font-in-combobox/195182>\
**Category:** flash\
**Created:** [July 29, 2006, 10:13am UTC](https://forum.kirupa.com/t/embed-font-in-combobox/195182 "2006-07-29T10:13:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![temp\_username](https://avatars.discourse-cdn.com/v4/letter/t/d2c977/32.png) [@temp\_username](https://forum.kirupa.com/u/temp_username)\
**Post date:** [July 29, 2006, 10:13am UTC](https://forum.kirupa.com/t/embed-font-in-combobox/195182/1 "2006-07-29T10:13:10Z")

</div>

Ok this seems straight forward! But won’t embed a font in a combobox for flash 8.

I have the font in the libary ‘arial’ and set linkage to ‘my\_font’.

What needs to be changed?

[SIZE=2]embed text for comboboxes -  
nsf = new FStyleFormat();  
nsf.textColor = 0xFF9999;  
nsf.textSelected = 0x0000FF;  
nsf.textSize = 22;  
nsf.embedFonts = true;  
nsf.textFont = “my\_font”; // linkage ID  
nsf.addListener(combo1,combo2);  
[/SIZE]

* * *

Jaffasoft
