embedFonts not working

I’ve added the font to my library and set the linkage with export to first frame checked but its not working. Can someone see what I’m doing wrong?

    function labelUpFormat():TextFormat{
    var textFormat = new TextFormat();
    textFormat.size = 10;
    textFormat.font = "Whitney-Bold";
    textFormat.align = "left";
    textFormat.bold = true;
    textFormat.color = lfOrange;
    return textFormat;

var id = _root.dif.createTextField("id",_root.dif.getNextHighestDepth(),200,200,200,200);
    id.embedFonts = true;
    id.type = "dynamic";
    id.text = "This is my text";
    id.selectable = false;