flash MX 2004 font problem

  • Started
  • Last post
  • 2 Responses
  • Seph

    Here's function

    function fillmytext(textname){
    var exten = textname + ".html";
    var ss = new TextField.StyleSheet();
    ss.load("date.css");
    _root.myText.styleSheet = ss;

    /*******************************...

    //xml stuff
    _root.about = new XML();
    //about.ignoreWhite = true;
    _root.about.load(exten);
    _root.about.onLoad = function () {
    _root.myText.text = _root.about;
    }
    }

    Can anyone tell me why embedded fonts called by the external CSS and loaded into the text object are not working? They are being replaced by sys fonts or somesuch unreadable madness.

    Its weird because I have definately embedded the fonts in a dynamic text field within the fla. Could it be that this new CSS object in MX 2004 can only load webfonts? Surely not !

  • Seph0

    sigh...no flash gurus in today then...my question obviously didnt have enough sexual content.

    Can anyone help me with my flash Q?

    Then tell me if you've ever used a buttplug...yawn...

  • BrendanO0

    I would skip the css and create a new swf called dynamiclibrary.swf. in the fla go to the library add a font and set the linkage properties to export for action script.

    In the files that you use this font goto file/import/open external library and import the font into your fla. In the text filed that uses the font make sure you pick the font with the asterix after its name. If thats not clear look at dynamic libraries at macromedia!