Can I embed OpenType fonts in Flash CS 5.5?

I just reopened an old-ish Flash project and the fonts aren't working. The project was worked on previously in CS 3 or 4 - don't recall - on a Mac running some earlier version of OS X. I'm currently running Lion and Flash CS 5.5, and some of the fonts aren't embedding or rendering. The project is using Postscript fonts.
I thought I read that TrueType fonts are more reliable, but the font I need (Akzidenz Grotesk) is not available in TrueType, only OpenType.
Am I safe to buy and use this in OpenType format? It's several hundred dollars so want to be sure before blowing the money. I think I'm looking at this version, which seems to be the smallest/cheapest I can get away with: http://www.linotype.com/265010/AkzidenzGroteskStdValuePack-product.html
Thanks!

Thanks. I'm actually using the Font Embedding panel in Flash. Seems to be working though I can't get any of the variations to work.
I create a new font in the Font Embedding panel, choose my font and weight (trying Myriad Pro and Myriad Pro Italic), export for actionscript (AS classes fontNormal1 and fontItalic1).
Then in the class where I do my formatting, up top I have:
private var fontNormalFont1:String = 'Myriad Pro';
private var fontItalicFont1:String = 'Myriad Pro Italic';
In my constructor I have:
Font.registerFont(fontNormal1);
Font.registerFont(fontItalic1);
Then I create my text format:
fmtMainTitle:TextFormat = new TextFormat();
fmtMainTitle.color = 0xffffff;
fmtMainTitle.font = fontNormalFont1;
fmtMainTitle.size = 18;
Which I subsequently apply to text fields (including an embed font directive). It works great if my font is fontNormalFont1, but if I try fontItalicFont1 it comes up blank - no text appears.
I tried creating an instance of the AS class for the italic font, and getting the font name:
fontItalicInst:Font = new fontItalic1();
trace(fontItalicInst.fontName);
And I get back "Myriad Pro" - in other words it's only returning the base font name, not the full name.
I'm pretty rusty at AS/Flash, and fonts were never my strong suit, so I could be doing all the the wrong way. I do need to have fonts available in CSS, which could be why I'm registering the fonts (it's been a few years since I built this app).
Would appreciate any advice
- Bob

Similar Messages

  • How can I write Arabic font in flash?

    How can I write Arabic font in flash?
    I have a project and I need to write dynamic text (Arabic).

    hi frankie*,
    Please try this, there are some difference with your code: 
    http://actionscriptexamples.com/2008/11/24/embedding-fonts-in-flash-cs4-using-actionscript / 
    // ActionScript 3.0
    [Embed(source="assets/ARIAL.TTF", fontFamily="ArialEmbedded")]
    var ArialEmbedded:Class;
    var arialEmbeddedFont:Font = new ArialEmbedded();  
    var textFormat:TextFormat = new TextFormat();
    textFormat.color = 0xFF0000;
    textFormat.font = arialEmbeddedFont.fontName;
    textFormat.size = 32; 
    var textField:TextField = new TextField();
    textField.autoSize = TextFieldAutoSize.LEFT;
    textField.wordWrap = true;
    textField.defaultTextFormat = textFormat;
    textField.embedFonts = true;
    textField.text = "The quick brown fox jumps over the lazy dog.";
    textField.width = 500;
    textField.x = 25;
    textField.y = 25;
    addChild(textField);
    Hope it helps.

  • Can I embed Arabic text in flash?

    1. If so, how can I do this? When I cut and paste an arabic
    text from a notepad or photoshop, all the characters comes out
    wrong.
    2. I believe I can use an external txt or xml file instead.
    But if I do this, would the user be able to get the right
    characters / fonts if they don't have the arabic fonts on their
    machines?
    thanks in advance.

    About embedding font outlines:
    Let's say I want to use a decorative font - call it
    "Lithograph" (one I commonly use) - to type the word "HELLO" in my
    Flash movie. Flash will embed the outlines of the actual shapes of
    the Lithograph characters H E L and O into the SWF. It treats them
    as actual outlines, not as fonts. That way, even if you don't have
    Lithograph on your system, you will still see "HELLO" in my SWF,
    formatted as Lithograph font. This applies to Static Text only. It
    is done automatically. You do not need to physically embed the font
    yourself. You do not need to convert the letters to shapes.
    Therefore I am GUESSING that the same thing happens when you
    use Arabic: Flash will embed the shapes of those Arabic letters. So
    the end user does not need to have Arabic on their system. Again,
    this applies only to Static Text, not Dynamic or Input text.
    To see whether this is happening, generate a Size Report (in
    the Publish settings), open the Size Report text file, and scroll
    down close to the bottom: it will tell you exactly which letters
    are embedded in the file.

  • Can I embed java app in flash (mp3 recorder)

    I need to provide an mp3 recorder from the user's sound card functionality to a flash application. It will be strictly a web app hosted on a server, not an install. User's may or may not have admin priviledges.
    I am mostly a vb guy so I was wondering if this could be accomplished with Java, if so how many MS security windows will the user need to wade through?

    It sounds like an applet is what you want, but I have no idea if an applet can be embedded or communicate with flash. Try googling "embed applet in flash" or something to that effect.
    How much of this sound card functionality do you need to use in java? Java has a separation between the software and the hardware, so unless you have a library already, it will be hard to access native functionality.

  • Can I Embed a URL into Flash?

    Hi All,
    I have a dynamic graphic that is updated periodically.  I want to know if I can embed the URL into Flash.  The URL is:
    http://cache.www.gametracker.com/server_info/68.232.170.145:16567/banner_560x95.png?random =751479
    I'm using CS4 but am developing this site in AS2.
    Many Thanks,
    Scott

    Hi Keith,
    I would like to have the URL embedded in my Flash project (web site).  So that the URL is displayed in a section of the web site.  I suppose the best way to explain this is that I want the URL to be displayed automatically on the web site with no mouse or user interactions.
    Does that help explain it?
    Thanks,
    Scott

  • Can I embed a font?

    Hey all:
    New web designer here: what's the latest, greatest trick for
    embedding obscure fonts into a page? Or is there a practical way to
    do this? I want to use all these beautiful and distinctive fonts,
    but I also want to be sure my page shows up correctly in any
    browser, on any system. Any help would be greatly appreciated.
    Merry Christmas!
    Ken Quad

    On 09 Dec 2006 in macromedia.dreamweaver, Ken Ha Quad wrote:
    > New web designer here: what's the latest, greatest trick
    for
    > embedding obscure fonts into a page? Or is there a
    practical way to
    > do this?
    Images. Use 'em sparingly, though.
    Joe Makowiec
    http://makowiec.net/
    Email:
    http://makowiec.net/email.php

  • Flex 4 Embed fonts in flash swf VS embedding fonts in flex

    I have this dilema...what's the best way to embed fonts?
    In flash I can easily embed the fonts + the chars ranges that I need through the menus export the swf and then use it in flex.
    In flex I don't see an easy way of setting the character ranges. How can I get the values I need? I read the format is U+(beginning of range)-(end of range) but where do I take beginning and end of the range from ?
    Thanks in advance.

    Сode hinting in Flash Builder 4 code editor for global style, e.g.
    global {
       font-family : Arial;
    works for me.
    Also in @font-family style declarations, I can code hint for "font-family", "embed-as-cff" styles property too.
    Although, it is true you do not get code hints for values for those particular properties, I think that CSS editor could support it too, but it does not.

  • Embed a font in one SWF use in another?

    Long version:
    I've got a "player" app that I've built that shows content
    from various XML files. I have certain common fonts embedded in it
    (Verdana, Arial, Times, etc.) that it uses to display text. Now,
    I've got a client with a special symbol font that I'll need to pull
    characters from to show specific text in my app. I can't embed this
    font in my app (due to many considerations), but I'd like to use it
    without having to use each character as a graphic (by converting
    every character in the font into a JPG). So, can I embed his font
    in a SWF and load that SWF to use the font in my app?
    Short version:
    SWF1 loads SWF2 which contains an embedded font. SWF1 uses
    that font via a TextFormant instance to show text on the stage.
    Is this possible? My target is Flash 7 player using AS2.
    Thanks!
    Matt

    that approach won't work i don't think. i've looked at shared
    libs before and don't remember it being that useful. but i'll take
    another look.
    is there now way in pure code to do it?

  • Embedding fonts in Flash 8?

    Hi,
    I have a Flash file and it uses Mac fonts, however, I work
    much better using Windows. I'd like to do my Flash development on a
    Windows machine, but I need to use the Mac fonts. Say buying these
    fonts for Windows is not an option...can I embed a font within the
    FLA so I can develop on Windows and render the SWF with the Mac
    fonts?
    I'd like to be able to open the FLA on the Mac, do the
    embedding steps, save the FLA and transfer it over to the Windows
    machine and develop there.
    Thanks in advance
    P.S.
    If possible, I'd like to do this via the library or similar,
    not through AS code.

    B0st0nMark;
    No, you cannot embed a working font in a fla (or any native
    graphics
    format to my knowledge)--fonts are often protected/licensed.
    Even if you
    could embed a useable font, flash would then also need to
    convert the font
    to be windows compatible in your case... -Tom Unger

  • CR XI R2, Crystal Report Viewer Opentype Font not supported

    Hi
    For my reporting I selected an OpenType Font. But with my crystal version it doesnu2019t work. My Crystal version is
    CR XI R2 Servicepack 3.
    In the Crystal Report designer, I can select the OpenType Font but with the viewer it doesn't work. I saw in the release notes (2008 and XI) that only TrueType und Postscript fonts are supported.
    Can you tell me, in wich version that OpenType Font will be supported?
    Thanks a lot.
    Pius

    I find it hard to believe Crystal doesn't support OpenType fonts as I am told by my design group that OpenType fonts are a "superior, widely-supported format".  I am finding this limitation very frustrating as my organization has a specific set of OpenType fonts that we are expected to use for branding purposes, but I can't use them in my reports!  And I can't find TrueType versions of the fonts, so I am forced to use other fonts and end up with a very different end product.
    Please reconsider!
    Thank you.

  • How to embed custom font

    Guys, on a daFont web I found some fonts and I would like to use them on my web which I make with animate. How can I embed that font in animate document? That font is called delicate little flower. If somebody could show me how to do it I will be really grateful.
    Thank you.

    i am bumping this up. i cannot seem to get this to work on iOS, but was able to get this to work on Android using device fonts.
    Anyone here have expereince dealing with the Tamil language on iOS through AIR?

  • Embed video player or flash payer on Jsp page

    HI all, I am new to java, and i want store videos in database(Mysql) and also want to retrieve and play videos on my jsp page,like youtube,how can i embed video player or flash payer on my jsp page so that i can play videos of almost all formats. iam doing all this in servlets.
    Can anybody help me?? and give details about all that??
    Thanks.

    Hi thanks for ur response,
    Can you please help me more, i am using eclipse on linux OS and trying to play video,using JMF,by using jmf.jar,mediaplayer.jar,multiplayer.jar files in my applications ,and when i run my class it gives error "No media player found" as there is no media player in linux,so how can i play my video in real player or in some other player in llinux using eclipse.
    iam using sample code provided by JMF to play video.
    Thanks.

  • Does Lightroom Support OpenType Fonts?

    When selecting a font in the Lightroom Slideshow module no OpenType fonts are displayed, although they are available in other apps. How can I use OpenType fonts in Lightroom on Windows Vista?
    Thanks,
    Rob

    No. See http://helpx.adobe.com/lightroom/kb/tethered-camera-support-lightroom-4.html

  • How to embed an OpenType font in Beta 2?

    Hi Folks
    I'm trying to embed an OpenType font into a Flash Builder Beta 2 project and haven't been successful yet.
    What I've tried so far:
    1. changing the order of the font managers in the flex-config.xml file, to put the one that handles OpenType first:
    <manager-class>flash.fonts.AFEFontManager</manager-class>
    2. in the .css file for the main mxml file, changing   embedAsCFF: true;  to embedAsCFF: false;
    3. embedding the font using a .swf file containing the font made in Flash CS3, and referencing that in the .css file
    4. embedding the font in <fx:Script/> using [embed]. Got an error message on the src line (Embed is only supported on classes and member variables.)
    [Embed(source="/Library/Fonts/CalliopeMVBStdRg.otf",
             fontStyle = 'normal',
             fontName='Calliope MVB Std Regular',
             mimeType='application/x-font',
             embedAsCFF="true")]
    Any ideas on what my mistake is?
    Thanks for your attention
    Kearney Buskirk

    It should just work in CSS with @font-face.  What error did you get?
            @font-face
    When you tried #4 did you add the in front of a member variable?
    [Embed(source="/Library/Fonts/CalliopeMVBStdRg.otf",
             fontStyle = 'normal',
             fontName='Calliope MVB Std Regular',
             mimeType='application/x-font',
             embedAsCFF="true")]
    public static var CalliopeRegular:Class;
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • How do i embed fonts in flash builder 4?

    how do i embed fonts in flash builder 4?
    thanks,
    daniel

    Try http://blog.flexexamples.com/2008/10/15/embedding-fonts-in-flex-gumbo/
    I also answered in your other thread, http://forums.adobe.com/thread/482315.
    Let us know if you're still having problems and we can try and help you get started.
    Peter

Maybe you are looking for

  • Why can't I edit reminders in iCal?

    If I create a reminder on my iPhone, I cannot edit it in iCal. It shows up just fine, but it is read only....

  • Error while creating Billing Document in Tcode VF01

    Hi all, When i want to create a Billing document with single document number i'm able to move on to the overview of billing items.....for instance if 9000004568 is a document with 10 and 20 as items and when i try an create a billing document for the

  • I have an iPod classic 160GB

    I never had any issues up until a few weeks ago that it started acting funny. Every time i connect it to iTunes it says that its corrupted and that it needs to be restored to its factory settings. I restore it. It syncs normally but once it reaches t

  • Firmware Version?

    This may be a very basic question...how do I find out what my firmware version my Airport Express currently has? I just bought my Express yesterday, and have it up and running (with a Linksys WRT54G wireless router); and have read on this forum about

  • Find photos in Library that are not in an Album

    My mum has made the classic mistake of deleting her images from Albums rather than the Library when using iPhoto. Anyone know how to find all photos in the Library but not included in albums? I found a script for iTunes to do a similar thing with tra