embedFonts = true;
should embed the fonts that i’m using for a text field
//-------------------------------
//create the second level menu
//-------------------------------
// format the text of the buttons
myFormat = new TextFormat();
myFormat.font = "PixieFont";
myFormat.size = 15;
myFormat.color = 0xFFFFFF;
myFormat.indent = 3;
myFormat.bold = 0;
myFormat.align = "center";
var nav2 = ["News", "About", "Menus", "Koki Club", "Schmoock's Net", "Events", "Location", "Banquets", "Gallery"];
var link2 = ["#1", "#2", "#3", "#4", "#5", "#6", "#7", "#8", "#9"];
// create the menu with the names from the array above
pos2 = 0;
wid2 = 0;
for (i=0; i<nav2.length; i++) {
_root.createEmptyMovieClip("n2"+i, i+20);
with (_root["n2"+i]) {
wid2 = ((_root.nav2*.length)*8.5)+20;
createTextField("label", 1003, pos2, 26, wid2, 19);
with (label) {
//check for current location and highlight the correct button
if (nav2sel == nav2*) {
attachMovie("selected", "selected", 1);
with (selected) {
_x = pos2;
_y = 24;
_yscale = 90;
_width = wid2;
}
}
border = false;
type = "dynamic";
text = _root.nav2*;
selectable = false;
setTextFormat(myFormat);
align = center;
embedFonts = true;
}
pos2 = pos2+wid2;
}
}
when i take the embedFonts property out my text shows up and is not embedded and when i have it in there the text disappears and i have no idea if it’s embedded
i tried making it a part of myFormat at the top but that didn’t work either
can you not embedFonts on created text fields?
please help