Font in flash .swf changes

Hi,
I'm using a Futura font in my flash website. When I open the
.swf file to test it out on my computer the font appears as I
selected. But on other peoples computers it gets replaced with a
Times New Roman font (I'm guessing this is some kinda default cause
my computer didn't originally come with futura). How do I stop this
from happening?
Sam.

Hi Sam, you need to embed Futura in your SWF so that it's
there even on computers that don't have the font installed. Be
aware that this will increase your SWF file size.
You can do this a couple different ways. Either click the
Embed button on the Properties panel while the text field is
selected and choose which glyphs you need... or go to your Library,
in the menu choose "New Font" and choose which font, size and
appearance.
You need to do this for each variation of the font. For
instance, if you have Futura and then Futura Italic, you'll need to
embed both.

Similar Messages

  • 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.

  • New to flash, swf loaded while changing size

    i'm trying to create a button that will replace the current
    swf with another and i want the size to change between the various
    sizes of each page. i'm currently using the following code in the
    action inspector:
    on(release){loadMovieNum("myfilename.swf",0);
    i know there has to be a simple way to do this! a very
    grateful thanks to anyone who tries to help!

A: new to flash, swf loaded while changing size

b3autiful_dizaster wrote:
> i'm trying to create a button that will replace the
current swf with another
> and i want the size to change between the various sizes
of each page. i'm
> currently using the following code in the action
inspector:
>
> on(release){loadMovieNum("myfilename.swf",0);
> }
>
> i know there has to be a simple way to do this! a very
grateful thanks to
> anyone who tries to help!
You can't change size dynamically as it is defined by the
object embed tags.
You could use WMODE transparency which could help you fake it
tho not always best
solution to go with WMODE. It's a very buggy parameter.
WMODE will remove the background color so the flash movie
appear over the html and you
can see the HTML content trough the movie.
You could define some solid shape for the background on
bottom layer to make it look
like SWF background, than change it with the other loaded
movie making it appear as it
changed size while the over all flash size stats the same. As
said above - faking it.
Best Regards
Urami
!!!!!!! Merry Christmas !!!!!!!
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami>

b3autiful_dizaster wrote:
> i'm trying to create a button that will replace the
current swf with another
> and i want the size to change between the various sizes
of each page. i'm
> currently using the following code in the action
inspector:
>
> on(release){loadMovieNum("myfilename.swf",0);
> }
>
> i know there has to be a simple way to do this! a very
grateful thanks to
> anyone who tries to help!
You can't change size dynamically as it is defined by the
object embed tags.
You could use WMODE transparency which could help you fake it
tho not always best
solution to go with WMODE. It's a very buggy parameter.
WMODE will remove the background color so the flash movie
appear over the html and you
can see the HTML content trough the movie.
You could define some solid shape for the background on
bottom layer to make it look
like SWF background, than change it with the other loaded
movie making it appear as it
changed size while the over all flash size stats the same. As
said above - faking it.
Best Regards
Urami
!!!!!!! Merry Christmas !!!!!!!
<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami>

  • Using fonts embedded in the main app in Flash swf(s) loaded at runtime

    Hello there,
    My main application has several fonts embedded via CSS:
    @font-face {
    src: url('/Library/Fonts/ACaslonPro-Regular.otf');
    fontFamily: CaslonR;
    unicodeRange: U+0021-U+007E;
    At runtime the main application loads various swf files that were created in Flash CS5.
    I can't figure out how to allow those dynamically loaded external swf files to use the fonts that are already embedded in the main application.
    Of course I can embed the font in each swf in Flash CS5 to begin with, but that doesn't seem like an elegant solution, let alone it significantly increases the file size of every swf.
    Thanks,
    FTQuest

    See the embedded font post on my blog
    Alex Harui
    Flex SDK Team
    Adobe System, Inc.
    http://blogs.adobe.com/aharui

  • Bold font in Flash not showing in SWF

    Hiya,
    Sorry if this is a dumb question - I'm not an expert with Flash.
    I'm adapting an off the shelf mp3 player and would like to make some text bold - namely [see: http://www.stevedrake.net/music_09] the text that shows the current artist/song at the top.
    This is dynamic text from an XML file. I've embedded the fonts [Verdana regular and bold - OpenType] in Flash CS5 but the bold won't display even though the special characters do display [Jónsi].
    Ta
    steve

    I know what you mean, the outlines embedded should be thicker because we "think" it's embedding the fonts as 2 separate classes. I don't think it's this simple internally. You can see in the font manager it groups fonts variants (regular/bold/italic all under the same font name). Internally it's actually keeping track.
    This is actually behavior I don't mind. My example was more complex than it needed to be. I like when fonts just map properly and actually all you need to do is set the .bold flag and it will automatically use the bold version of the font that's embedded. That tells me they're internally linked.
    e.g.:
    import flash.events.MouseEvent;
    import fl.text.TLFTextField;
    import flash.text.AntiAliasType;
    import flash.text.Font;
    import flash.text.TextFormat;
    var useBold:Boolean = false;
    // fonts
    var gRegFont:Font = new GRegular();
    // handler
    stage.addEventListener(MouseEvent.CLICK, handleClick);
    function handleClick(e:MouseEvent):void
        useBold = !useBold;
        // fix Flash's desire to mass-apply, set twice
        tf.bold = false;
        myTLFTextField.setTextFormat(tf, 0, 16);
       // now handle bolding
        tf.bold = useBold;
        myTLFTextField.setTextFormat(tf, 17, myTLFTextField.length);
    // TLFTextField init
    var myTLFTextField:TLFTextField = new TLFTextField();
    addChild(myTLFTextField);
    myTLFTextField.x = 10;
    myTLFTextField.y = 10;
    myTLFTextField.width = 400;
    myTLFTextField.height = 100;
    myTLFTextField.embedFonts = true;
    myTLFTextField.antiAliasType = AntiAliasType.ADVANCED;
    myTLFTextField.text = "This is my text: This is affected by format";
    var tf:TextFormat = new TextFormat(gRegFont.fontName,16,0x0,false);
    myTLFTextField.setTextFormat(tf,0,myTLFTextField.length);
    I don't even need to set the .font property at all. Internally it's linked and that works fine. I'm not even instantiating the bolded version, it's precompiled and available. I also forgot to set embedFont=true and some antialiasing but it works if you do or don't anyhow.
    Edit:
    Haha I see you were editing your post too. I think we're both on the same page seeing we said the same exact thing. Although I do need to set the non-bold TextFormat like I did setting from char 0-16 or the entire TextField (or TLFTextField) goes to bold. Setting both formats every time fixes the issue. I don't even need to keep setting a font, it's already saved in the formatting object. I just turn bold on and off.

  • Changing flash .SWF file into Keynote presentation

    Someone please help.. presentation in 8 hours and I want to use Keynote but the presentation is in flash .swf and the directions I got didnt work- they were:
    Use Flash MX to save the file as a Flash 5 movie. It should have a filename extension of ".swf". Important: Keynote cannot import native Flash files whose filename extension is ".fla".
    In Keynote, Choose Edit > Place > Choose.
    Select the file and click Place to insert it into your slide.
    I choose edit but theres no option that says place, how do I read my swf file through Keynote?
    Thanks everyone!
    Daniel

    That kind of thing is not done in Fireworks, which is a graphics 
    application; it should be done in a web page editing program such as 
    Dreamweaver. Generally, Fireworks HTML is not acceptable for final 
    production web sites unless you're exporting as CSS and Images, and 
    even then, it will most likely require tweaking in a web page editor.
    HTH
    Jim Babbage

  • Using an Embedded Font in another .swf

    I am encountering a situation with font embedding that hopefully someone out there will know the solution to. This is a slightly boiled-down version of the problem but all the pertinent details are included. Without further ado, here's the situation:
    TLDR Version:  If I have a font embedded and registered with Font.registerFont(), and I attempt to use that font in a .swf that was compiled from an .fla in Flash CS5 that so much as MENTIONS that font, it fails.
    Longer Description:
    The Goal: Embed fonts in 1 .swf, use those fonts in many .swfs. Simple.
    Fonts.swf
    I have 3 .swf files. The first is called Fonts.swf. This was created in Flash CS5. It contains an embedded font( Franklin Gothic Demi ) with characters a-z, A-Z, numerals, and punctuation, etc. Regular, not bold. The font is exported for actionscript and the class is FranklinGothicDemi.
    On the main timeline of Fonts.swf is the code:
    Font.registerFont( FranklinGothicDemi ).
    Application.swf
    The second .swf is Application.swf. The following code snippet is from Application.as:
    [Embed(source="Fonts.swf")]
    private static var EmbeddedFonts:Class;
    initFonts()
    var embedFont:EmbeddedFonts = new EmbeddedFonts();
    embedFont.addEventListener( Event.COMPLETE, function( e:Event ){ traceEmbeddedFonts(); } );
    When traceEmbeddedFonts is called, it verifies that Franklin Gothic Demi is in fact registered.
    UserInterface.swf
    The third .swf file is UserInterface.swf. Fonts are NOT embedded in this file. They are not supposed to be. The project has many .swf files and they should all be using the fonts embedded in Fonts.swf.
    On the main timeline of UserInterface, it calls it's own version of traceEmbeddedFonts(), which again confirms that Franklin Gothic Demi is embedded.
    Inside UserInterface is a TextField we'll call mMainTextField, with some text, say "Main Menu". The font is "Franklin Gothic Demi", the anti-alias style is 'use device fonts.' I have tried other anti-alias styles as well.
    As it turns out, UserInterface.swf is 'embedding' Franklin Gothic Demi, with a character set of a big fat 0 characters. This is taking precedence over the Franklin Gothic Demi font embedded from Fonts.swf. I can side-step this problem by setting mMainTextField to use some other Font while publishing and then using actionscript to change it back to Franklin Gothic Demi when the project is running, but that's not a solution that is friendly to the artists.
    In essence, the question is simple: Why is Flash Embedding and Registering fonts with character sets of size 0, despite the fact that nowhere in UserInterface.swf is there a request to embed fonts, and how do I prevent it from doing so?
    If anyone who sees this has already encountered and solved this problem and shares the solution with me, you will be my favorite person .
    Thanks!
    -J

    You know, I think its just a bug inside Flash Builder Burrito. When I run my app through the emulator it doesn't display correctly but when I run it on my phone it works as it should.

  • 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?

  • Multiple flash files change when a button click using javascript function

    hi.. am new in flsh...
    i want to multiple flash files change when a button click using a javascript

    <script>
    var count=0;
    function mafunct(newSrc){
        alert("hi");
    var path="a"+count+".swf"; 
    flash+='<OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" WIDTH="100%" HEIGHT="100%">';         
        flash+='<PARAM NAME=movie VALUE="'+path+'">';         
        flash+='<PARAM NAME="PLAY" VALUE="false">'; 
        flash+='<PARAM NAME="LOOP" VALUE="false">';
        flash+='<PARAM NAME="QUALITY" VALUE="high">';
        flash+='<PARAM NAME="SCALE" VALUE="SHOWALL">';
        flash+='<EMBED NAME="testmovie" SRC="Menu.swf" WIDTH="100%" HEIGHT="100%"PLAY="false" LOOP="false" QUALITY="high" SCALE="SHOWALL"swLiveConnect="true"PLUGINSPAGE="http://www.macromedia.com/go/flashplayer/">';
        flash+='</EMBED>';
        flash+='</OBJECT>';    
    count++;
    alert(path+"aa");
    </script>
    <button onclick="mafunct()">next</button>

  • Resizing output when exporting to Flash/SWF

    Does anyone know if there is a way to resize the output when exporting a Keynote presentation to Flash/SWF? When you export to QuickTime, you can adjust the output size. I can't find a way to do that when exporting to Flash.

    I think that's because the Flash output displays at whatever size you want when you embed it into a website. For example, you can't create a Keynote presentation smaller than 200x200. BUT, if you create at 200x200 and then, in your embed statement, change it to 100x100, then that's how it will display on your web page.

  • Embedded a korean font in Flash

    Hello !!!
    I would like to embedded a font thanks Flash CS3, in order to
    get a .swf that handle the italic and bold korean font (is
    possible, one that looks like lucida for the latin characters).
    I’ve tried several that seemed to handle the korean but each
    time I end with square characters when I test it :( Furthermore I
    couldn’t find the fonts given in this post (
    http://typophile.com/node/19036).
    I also have corectly "embedded" the special characters on flash..
    still not work !!!
    Does somebody has an idea where I could find a character
    table or directly which font use for korean or where to find .swf ?
    Thanks a lot !!

    I have created an English brochure for a client, and the same brochure was translated into German. Now I am being asked for a Korean version. Can someone provide some guidance on how best to proceed in Adobe Indesign CS5? I gather that I use Apple Gothic or another font... but it doesn't show up as Korean. Also, is Korean a vertically read font?
    Korean is occasionally set vertically, but it's an extremely old-fashioned technique outside of a few limited areas - some ads, the spines of books, et cetera. 
    To be honest, I'd say "package your InDesign file and send it to a firm or freelancer that specializes in English to Korean translation, with experience in the subject matter of your brochure." It sounds like you are asking for automated machine translation within InDesign; ID has no such ability. There are ways to flow automated machine translations into ID documents, but you're most likely to find those tools in the hands of translation agencies anyways.
    No matter where you get your translation done, I'd advise against you trying to typeset the Korean yourself - there are issues with Korean in English-language ID. Without some careful setup, ID will treat Korean characters as if they were Chinese, and will break Korean words in incorrect locations instead of at spaces.

  • Flash swf loading very slowly on website

    Have a look at this:
    http://www.tsocommunication.ca/test/...x/index_en.php
    and then this:
    http://www.biotonix.com/beta/index_en.php
    notice how it doesn't take any time to load on first URL, but on the second URL, it takes A LOT of time for the flash swf (header) to appear. Even when you change pages, it doesn't seem to get cached. What could be the cause of this?
    Any help would be really appreciated... thank you

    here's the code:
    <!-- Flash Menu -->
            <div id="flash_menu">
                <script src="scripts/swfobject_modified.js" type="text/javascript"></script>
                <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="922" height="312" id="FlashID" title="menu">
                      <param name="movie" value="resources/menu/menu_en.swf" />
                      <param name="quality" value="high" />
                      <param name="wmode" value="opaque" />
                      <param name="swfversion" value="6.0.65.0" />
                  <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest
                       version of Flash Player. Delete it if you don’t want users to see the prompt. -->
                      <param name="expressinstall" value="scripts/expressInstall.swf" />
                  <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
                  <!--[if !IE]>-->
                <object type="application/x-shockwave-flash" data="resources/menu/menu_en.swf" width="922" height="312">
                  <!--<![endif]-->
                    <param name="quality" value="high" />
                    <param name="wmode" value="opaque" />
                    <param name="swfversion" value="6.0.65.0" />
                    <param name="expressinstall" value="scripts/expressInstall.swf" />
                  <!-- The browser displays the following alternative content for
                       users with Flash Player 6.0 and older. -->
                <div>
                  <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
                  <p><a href="http://www.adobe.com/go/getflashplayer">
                  <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif"
                  alt="Get Adobe Flash player" width="112" height="33" /></a></p>
                </div>
                <!--[if !IE]>-->
              </object>
              <!--<![endif]-->
            </object>
            <script type="text/javascript"><!--
            swfobject.registerObject("FlashID");
            //--> </script>
                    </div> <!-- end flash_menu div -->

  • Embed fonts in Flash CS3 and load in Flex at runtime

    Hi,
    I want to embed fonts in the library of Flash CS3, compile it into a SWF and load it in my flex up at runtime and register the embedded font.
    I'm able to get the linked class in Flex but the font doesn't show.
    The FLA has a font called Viner Hand embedded as a library item, with linkage VinerHand and baseclass as flash.text.Font
    Here's the code in flex to register the font -
    var FontLibrary:Class = ApplicationDomain((event.target as LoaderInfo).applicationDomain).getDefinition('VinerHand') as Class;
    Font.registerFont(FontLibrary);
    When I do Font.enumerateFonts after this, I see [Font VinerHand] in the array but the textField doesn't show the font embedded.
    Nishant

    Hi there,
    Try taking a look at the following links:
    http://www.trajiklyhip.com/blog/index.cfm/2007/7/18/Embedding-Fonts-in-Flex
    http://blog.flexexamples.com/2007/10/25/embedding-fonts-from-a-flash-swf-file-into-a-flex- application/
    Hope it helps.
    With best regards,
    Barna Biro

  • Using loaded fonts in child swf

    Hello,
    I have an ad container that loads a handful of resources of which some are fonts and some are swfs. My problem is that the font is loaded from an url, is registered and works fine embedding it to the textfields created in the ad container. The problem is that when I try to embed it to the textfields in some of those loaded SWFs it does not work.
    The font loads and gets registered before the swf gets loaded. The SWF file then gets an event telling it to embed the font there as well. While checking, from within the child SWF file, the Font.enumerateFonts() array I can see that the fonts have been succesfully registered. My problem is that even if that array shows me the fonts, when I try to embed them in the child SWF file nothing appears. I even use something like myTextFied.font = Fonts.enumerateFonts()[0].fontName, while embedFonts is set to true and antiliasing is set to advanced.
    I tried it in all manner of ways and none gives me any results. The font which is loaded is stored as a library item with Linkage inside a SWF file. So to load a font I load SWF file containing that font. It works fine for the ad container (main SWF) but not for children SWFs.
    Any suggestions?
    Thank you a lot!
    Vlad

    You may need to create instance of font class and register font in every loaded swf. This is an RSL approach.
    This post outlines the idea:
    http://krasimirtsonev.com/blog/article/AS3-flash-runtime-font-loading-embedding

  • Flex swf loaded in Flash swf

    Hi,
    I have a Flex swf loaded into a Flash swf.
    I have made the Flex swf transparent, so that the buttons in the Flash swf are visible.
    But im unable to interact with the Flash swf buttons.
    My Flex swf is working happyily
    The Flex swf overlays the Flash swf.
    If i change the scrollRect of the Flex swf so the Flex swf is not overlaying the Flash swf i can successfully interact with the Flash swf buttons.
    Any ideas?
    Regards,
    Kyle

    Thanks Alex,
    I actually found an old post on a forum where you recommended a similar solution (mousesheld.visible = false).
    This seems to work although it messes with dragging (my Popups at least).
    But i can work with that for now, thanks for your help.
    Regards,
    Kyle

  • Maybe you are looking for

    • How do I find out all the objects I use in my application.

      As I am creating my documentation, I realized it would be helpful to know all the objects that my application uses ( tables, views, packages etc). Is there a way to find that out i.e. any script or simple alternative etc ? Thanks, folks!

    • Playlist sorting issue?

      My songs won't match the order they are put in on itunes when a sorting choice is reversed..... why? This used to work before. Here are the details: If I set a playlist to sort by title, it works when it is on A at the top. But if I click title again

    • Window size in GarageBand

      I can't access the bottom right hand corner to make the GarageBand window smaller; therefore, I can't access the Record/Playback buttons. Is there another way to make the window SMALLER. I've found lots of help to make it bigger. Thanks!

    • I'm a newbee to DVD burning.

      I have 174 pictures in iPhoto (2/0/1) and would like to burn them to DVD and have each picture run for about 10 sec. What do I do first and then next & ect. to get this done? I have iDVD 3.0.1 and iMovie 3/0/3 and a supperdrive plus about 60G free me

    • On-line store

      I've been a customer for 18 years with AT&T/ Cingular/ AT&T and I have to say this last online store transaction has been horrible. I place an order on Sunday for an Item that was suppose to be in stock. I get an email that there is an issue with the