Shared Fonts -MM  tech note does not work

Posted on 2006-05-04
Last Modified: 2013-12-03
The MM tech note on shared fonts is (a) old-out-of-date, or (b) wrong.

I have several SWFs which want to use the same font:  Times New Roman

But when I follow MM tech note, the font name (in my main FLA) appears as:  ( Times New Roman* )

in parentheses and does NOT display properly when the main.swf is run.

Is there a Better Tutorial on Shared Fonts for Flash 7 ?

Question by:Donelson

    Author Comment

    Here's the answer that actually works (instead of the 5 "solutions" which did NOT work)

    Keep the font FLA and SWF file in the same dir as the FLA/SWF which will be using the fonts.

    1) Make a new FLA. In library window menu, select "New Font..."
    2) Choose font and style etc
    3) Right-click on the resulting symbol to set LINKAGE...
    4) Set name, e.g. "TimesNewRoman"
    5) Checkmark ALL three "EXPORT" settings. Leave AS2 Class blank.
    6) Set "URL" to the name of the font SWF you will make WITHOUT .swf on the end
      e.g. "TimesNewRoman"
    7) Export a SWF from that FLA
    8) CLOSE the font FLA file.

    9) Now open the main FLA that wants to use the fonts.
    10) Use File > Import > Open External Library...    and open the font FLA file you just worked on.
    11) Drag the font symbol from the External library window into the Library Window of your main FLA
    12) Right-click to check the linkage:  TimesNewRoman.swf    (note the .swf here now ! )
    13) Now select your dynamic text field (or whatever) and choose TimesNewRoman*  (note asterisk)
    14) WITH THAT FIELD selected, you must (!) choose to Embed the font for that field as well.
    15) Now build and run the file.

    NOTE: You must keep the Main.swf and TimesNewRoman.swf TOGETHER in the same folder, otherwise Flash (stupid) will not be able to find the font swf.



    Author Comment

    Moderator, please Mark This Question as Answered for the benefit of future head-bashers.
    LVL 4

    Expert Comment

    And award the points to Donelson ;)

    Accepted Solution

    PAQed with points refunded (500)

    Community Support Moderator

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
    Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
    The goal of the tutorial is to teach the user how to how to record live broadcast.
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now