How to include certain shared fonts (AS2 on CS3)

Hey everyone,
I have a project which uses three different embedded fonts within it across a number of different swfs. As a result i have a separate fonts.swf file which contains the fonts and then i share them (so as not to have to load them within each swf file). The problem is that the three fonts can change depending on certain variables passed into the main swf file so the fonts.swf file actually contains about 12 fonts. Which three fonts are used are defined within the variables that are passed into the main swf file. Whilst this works fine it means that each time i have to load all 12 fonts which makes for a large filesize and takes quite a while to download on a slow connection (plus i want to add more fonts in the future).
I can't for the life of me work out how to dynamically embed shared fonts so i only have to load the 3 fonts that are actually needed. I am currently using this method but this involves manually placing a movieclip on the stage (or exporting it in the first frame). I can't see how to do this using AS2 (which would allow me to create a separate swf for each font). Similarly if i use a shared library i'm not sure how i would go about only importing certain libraries using AS2 (rather than doing it manually).
I would be incredibly grateful if anyone could point me towards the right way of doing this as i'm not sure what to do at this stage.
Thanks so much for your help in advance,
Dave

To correctly use bold and italic style you have to embed a separate font for each in the library and set the font style in the font properties.
With the TextFormat whole text is put on one font so you have to to the following then:
txtExample.htmlText = "<font face='bold'>I am bold</font> <font face='italic'>I am italic</font> <font face='default'>I am default</font>".
There is no other way than to use the font face property in html text to have different text styles within one TextField.
("bold" and "italic" are the linkage ids in the library)

Similar Messages

  • How to include a shared photo by others into book

    I am trying to make a book but can not include the photos that where shared by others. How can I do that?

    You need to import them first.  Control (right) - click on the photo in the shared album and select Import from the contextual menu:

  • How do I include 'Edge Web Fonts' into Edge Animate?

    How do I include 'Edge Web Fonts' (not Google Web Fonts) into Edge Animate?

    Have you tried to use google fonts? I have used them and they work for me.
    When you add your font for example:
    Copy paste:
    <link href='http://fonts.googleapis.com/css?family=Finger+Paint' rel='stylesheet' type='text/css'>
    and then for font family.
    'Finger Paint', cursive;
    then select addfont on the addfont screen

  • How does one obtain specific fonts and are they included in Creative Cloud membership?

    How does one obtain specific fonts and are they included in Creative Cloud?

    What fonts? There's a whole slew of fonts available with typeKit, which is included in CC, but specific fonts may still require to be bought individually from the respective type foundries.
    Mylenium

  • How do I enlarge the font on web pages

    how do I enlarge the font on web pages so that it stays that way all the time

    Funny thing today Thomas,
    Someone had a link to your site which you mentioned your first virus, the WDEF, and I chuckled as we both had the same experience all these years.
    Anyway Thomas, I call it as I see it and like any IT professional, use the best tool for the job.
    Did you know Steve Jobs used Linux on his renderfarm at Pixar?
    So really what the problem is people's sensibilities, which they shouldn't be worried about because like IE, because of Safari being included on hardware, automatically is the first browser of choice and in no danger of losing market share on Apple hardware.
    However if Safari isn't quite cutting the mustard for a particular person's needs, like this person's situation, they should be informed of a alternate solution.
    Safari doesn't have nearly the amount of customization as Firefox nor the zillions of add-ons to solve just about any issue.
    If people decide not to take my advice that's their choice, and they choose not too, but likely, just in this case, will come to realize the same problem I had with increasing Safari's text size and distortion of web pages.
    Soon as Apple starts paying attention to their needs of their hard of seeing customers better, like myself and others, then I will most certainly recommend Safari over Firefox. 

  • How can I get the font list of local

    Hi, everyone.
    In AS2.0, I can use TextField.getFontList() to return a
    array that include all font family of local.
    However, AS3.0 no longer supports it. How can I get the font
    list of local in AS3.0?
    Thanks

    thanks, I have been found result from adobe livedocs.
    example code following:

  • How does one change the font size for folders and/or file lists in the Bookmarks Library?

    How does one change the font size for folders and/or file lists in the '''Bookmarks''' Library?
    Since the upgrade to version 9.0.1 of Firefox, the Bookmarks feature changes are confusing me. They seem to be confusing themselves as well. The list of bookmarks has changed. The font size is so small that my aging eyes cannot read it without fogging the screen with my breath. Some folders are out of alphabetical order (where I know they were previously good), and some are missing altogether (folders to which I frequently add references).
    As for missing or deranged files or folders, was there something that I should have done or now need to do to recover those after the upgrade (or before)?
    With regard to font size,
    1. there is no “Edit Bookmarks” or like option to edit the list in this version
    2. the “zoom” option in the “view” list of functions is greyed out when in “Show All Bookmarks” window
    3. expanding the browser window has no effect on font size
    4. “Preferences” settings for font size has no effect in that window either, including advanced settings
    5. “Help” offers none that I can find.
    Can any of you Help?!?

    Maybe this extension helps:
    *Theme Font & Size Changer: https://addons.mozilla.org/firefox/addon/theme-font-size-changer/

  • How do I use all fonts and Microsoft Word?

    Although my fonts seem to be installed correctly, I often get a message when I try to use a new font that says "font not available for use in Microsoft Word," or some such. How can I make installed fonts available for Word? (By the way, this was true with earlier versions of OS 10.4, as well.)

    Fonts you download or otherwise acquire as font files should be placed in the Fonts folder in your Library or in the Fonts folder in the global Library. Having been placed there, the Mac OS knows what to do and there's nothing more for you to do.
    However, if you add fonts to the Fonts folder while an application is running...well the OS is supposed to let the program know about that and the program is supposed to gracefully accept them but it doesn't always work that way. I've never seen the error you mention but I can imagine it occurring if you've just added a font and the program was running. Just quit and restart the program.
    Having said that, some programs, Word included, prebuild font lists to enable faster loading times. I can also imagine Word's font list becoming corrupt (which happens all too frequently) which might cause your error message. The fix is to delete the font cache file. (found in the ~/Library/Preferences/Microsoft/Office Font Cache)

  • How do I embed multiple font outlines in dynamic text field

    Can anyone tell me how I can embed multiple font outlines in
    Flash MX so I can get smooth text in a dynamic
    text frame? I want to use Regular, bold and italic in various
    parts of the text.
    I was using the Character button in the properties manager
    and tried to include all Characters. That does not work.
    In the Properties manager I can choose Bold and/or Italic.
    But it becomes a universal setting that overrides my HTML tags in
    my external txt file that I am importing. I dont want all my text
    to be bold.
    If I dont select them in the properties, however, Flash will
    not embed the font that it needs.
    Is there a different way to embed fonts other than under the
    Character Tab?
    I tried to import fonts to the library, but can not select
    them.
    Your help would really be appreciated.
    Sincerely,
    ggaarde

    ggaarde wrote:
    > Thanks Urami
    > Tried your method and it does not work for me.
    > I put 3 dynamic text fields in the first frame of the
    movie. Set them up to
    > where one is regular, one is bold and one is italic
    Helvetica.
    Weird, it works for me on first go, always had in fact :)
    Show you an example, try to compare to your file see if you
    missed anything accidentally.
    http://flashfugitive.com/stuff/font/text.swf
    text file
    http://flashfugitive.com/stuff/font/text.txt
    fla
    http://flashfugitive.com/stuff/font/text.fla
    Best Regards
    Urami
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • How do i stop sharing from my ipad to my wifes computer and only to my mac"

    My ipad thru icloud is sharing the information on my wifes macbook including my contact lists, and apps.  I also have an Imac that the ipad shares with how can I stop sharing to my wifes Macbook?

    If it's sharing everything, it's because your account is set up on your wife's Mac.
    On her MacBook, go to System Preferences and remove your account from it.
    JP

  • How do I stop sharing mail with other users on my computer

    How do I stop sharing mail with other users on my Macbook pro?

    You may have to set up different user accounts in the computer if you wish to
    continue sharing the computer among other people, and only use the Mail app.
    Otherwise, if you use a webmail such as yahoo, gmail, or other, just use a browser
    and login each time; then there is no saving of your email to the computer as such.
    I've never used an email client software, nor had an ISP based email account. So
    my numerous computers have never downloaded email into software. No loss.
    But the answers do include setting up extra user accounts, not admin level, so the
    other users do not mess with the operating system; a standard account or just a
    guest account to use a browser to access web-based login email accounts, works.
    There are third-party email client for OS X, some are free applications, others are
    part of a larger browser product, such as SeaMonkey, & other Mozilla derivatives.
    They provide an email segment or client aspect; unlike Firefox that's a browser.
    Setup information should be within the Help viewer in the computer itself. Or by a
    simple search online, including the OS X version and any email client software
    your computer may have installed. Some browser software includes email client.
    Also there are several ways to go in this matter. I don't see questions, only answers.
    To learn how the Mail application works, if you want to import everyone's mail, then
    figure how to set up user accounts in the OS X. Or use web-mail & login by browser.
    Hopefully you can find the best solution for the unasked question.
    Good luck & happy computing!

  • Formatting issues: when I open a msg, the font is sooo small you need a magnifier to read it. How can I set the font size to one I can easily read?

    == Issue
    ==
    I have another kind of problem with Firefox
    == Description
    ==
    I have various formatting issues:
    a. When I open a msg from my web browser (Cablevision), the font is sooo small I need a magnifier to read it. How can I set the font to a size I can easily read?
    b. When I forward msgs, the text gets all distorted and I need to clean it up (some symbols, lots of spaces between words). How can this be fixed?
    c. When I want to tell someone about a website, I cannot type the URL in so that all they have to do is click on it. How can this be fixed?
    d. When I open messages, the text opens in a small window and covers the "Show Images" button. Why?
    == This happened
    ==
    Every time Firefox opened
    == Ever since I started using Firefox (a few months ago)
    ==
    '''Troubleshooting information'''
    I didn't find any results
    == Firefox version
    ==
    3.6.3
    == Operating system
    ==
    Windows 7
    == User Agent
    ==
    Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
    == Plugins installed
    ==
    *-nphpclipbook
    *Office Plugin for Netscape Navigator
    *The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
    *Default Plug-in
    *Adobe PDF Plug-In For Firefox and Netscape "9.3.2"
    *NPRuntime Script Plug-in Library for Java(TM) Deploy
    *The Hulu Desktop Plugin allows Hulu.com to integrate with the Hulu Desktop application.
    *Shockwave Flash 10.0 r45
    *Adobe Shockwave for Director Netscape plug-in, version 11.5
    *iTunes Detector Plug-in
    *3.0.40624.0
    *NPWLPG
    *Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers

    The text editor is the text area that you use on the webmail (Yahoo, Hotmail) website to create a new mail.
    You can compare that with the ''Post new message'' text area that you use to create a new post on this forum.
    Just above the text area that you use to enter the message text there is usually a button bar with buttons that allows some text formatting like Bold and Italic and can also include a button to make a clickable hyperlink.
    Check the tooltip of each button by hovering with the mouse over each button.
    Make Link - https://addons.mozilla.org/firefox/addon/142

  • How to include text as HTML elements (see DOMElement)

    I am working with Flash PRO CC v. 14.0.  to convert my Flash website to HTML5 / javascript
    I have converted a file to the HTML5 Canvas
    I am very happy that the new Flash Pro has the feature to convert to HTML5 canvas
    HOWEVER:
    In my original .FLA file project I use only one font: Copperplate Bold.  I use several sizes of that font within the project / scene
    In the original file for all text I use static text, Letter spacing, AntiAlias, AutoKern and single line (Linetype)
    - none of which the HTML5 canvas seem to allow / support?
    How do I maintain the FONT look that I have chosen in my original FLASH project, after I convert to HTML5 canvas?
    Is there a way in the HTML canvas to maintain the FONT look that I want?
    HTML5 canvas will not allow Font embedding
    The device font destroys the LOOK of my Copperplate Bold font.
    How do I include text as HTML elements (see DOMElements)?
    WARNINGS generated when I convert the original file into an HTML Canvas:
    Warnings generated while copying/importing in 140827a HTML test.fla:
    * AntiAlias is not supported in HTML5 Canvas document, and has been converted to DeviceFonts in an instance of Text.
    * AutoKern is not supported in HTML5 Canvas document, and has been removed in an instance of Text.
    * Frame Scripts have been commented
    * LetterSpacing is not supported in HTML5 Canvas document, and has been converted to 0.0 in an instance of Text.
    * LineType is not supported in HTML5 Canvas document, and has been converted to MultiLineNoWrap in an instance of Text.
    * Some artwork contains Hairline stroke, which is not supported in HTML5 Canvas document, and has been converted to Solid.
    * StaticText is not supported in HTML5 Canvas document, and has been converted to DynamicText in an instance of Text.
    New HTML Canvas Document created.
    NOTE:  So far the only way I have been able to maintain the font look is to convert the fonts to .png files
    This is painstaking work that I would like to avoid.
    Even then I still get a WARNING when I test my scene - (no doubt because I left the original FONT text  in guide layers)
    After conversion ON TEST SCENE:
    WARNINGS:
    Frame numbers in EaselJS start at 0 instead of 1. For example, this affects gotoAndStop and gotoAndPlay calls. (18)
    Only circular (not oval) radial gradients are supported. (85)
    Text support is limited. It is generally recommended to include text as HTML elements (see DOMElement). (6)
    Color effects are published as a filter and subject to the same limitations. (4)
    Filters are very expensive and are not updated once applied. Cache as bitmap is automatically enabled when a filter is applied. This can prevent animations from updating. (2)
    Content with both Bitmaps and Buttons may generate local security errors in some browsers if run from the local file system.
    HOW CAN I MAINTAIN the FONT LOOK that I have chosen for my project?
    How do I include text as HTML elements (see DOMElements)?
    ANY HELP will be appreciated
    A good, in depth, tutorial on the subject (FONTS) would be a BIG help to many using the convert to HTML5 canvas features.

    GOOGLE HAS
    https://www.google.com/fonts
    choose a font from above site
    then:
    google generates instructions on how to embed that font
    Montserrat
    3. Add this code to your website:
    <link href='http://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'>
    4. Integrate the fonts into your CSS:
    The Google Fonts API will generate the necessary browser-specific CSS to use the fonts. All you need to do is add the font name to your CSS styles. For example:
    font-family: 'Source Sans Pro', sans-serif;
    font-family: 'Ubuntu', sans-serif;
    font-family: 'Montserrat Alternates', sans-serif;
    font-family: 'Montserrat', sans-serif;
    font-family: 'Open Sans', sans-serif;

  • How do I change the fonts on the main page.My fonts have recently changed without my doing anything. They are like 6 point instead of the 12 I am used to. Email font is now huge. Is this an ATT/Yahoo problem or Firefox. Safari fonts seem to be o.k.

    How do I change the fonts on the home page? They recently shrank from 12 to very tiny..(6 pt?). I did nothing to change them, but after the event tried to change them using "preferences-Fonts"which had no effect. ATT seems to have made a change in their email. The fonts in the email are now huge (18 pt?). This could be an ATT/Yahoo problem with Mac, although Safari seems to be working o. k.

    Jim, extensions are also add-ons. Add-ons include extensions, themes and plugins.
    Whenever you have a problem with Firefox, whatever it is, you need to make sure it's not coming from one of your installed add-ons, be it an extension, a theme or a plugin. To do that easily and cleanly, run Firefox in [http://support.mozilla.com/en-US/kb/Safe+Mode safe mode] and select ''Disable all add-ons''. If the problem disappears, you know it's from an add-on. Disable them all in normal mode, and enable them one at a time until you find the source of the problem. See [http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes this article] for information about troubleshooting extensions and theme. You can troubleshoot plugins the same way.
    If you want support for one of your add-ons, you'll need to contact its author.

  • How to include images in my app

    hi all.
    I'm using Apex 2.1 over XE.
    I'm sorry but i can't find any thread related to how to include images in my app.
    I've uploaded several trough shared componentes / files / images, but don't know how to use it, for example, in an HTML region, as header of the page.
    Thanks a lot for your help.
    Fernando

    Hi,
    I have used four different ways to display images in my applications depending on which method is the fastest to refresh.
    1. Under Application Attributes > Edit Standard Attributes > Substitutions enter your substitution string (MY_IMAGE_URL) and substitution value(http://somewhere/img)
    and then in the region or template use the following syntax &MY_IMAGE_URL. in your html tags eg. img src="&MY_IMAGE_URL./banner.png" width="x" height="x">)
    I have found this the best for image refresh speed, especially if the image is already cached.
    2. Load your image up into Apex and don't associate it with any application and use the following tag img src="#WORKSPACE_IMAGES#banner.png" width="x" height="x" alt="">
    Good for development as all images not associated to an application are available.
    3. Load your image up into Apex and associate it with an application and use the following tag img src="#APP_IMAGES#banner.png" width="x" height="x" alt="">
    This can be a pain during development when your application numbers continually change.
    4. Use standard http address <img src="http://somewhere/banner.png" width="x" height="x">
    Ben
    Message was edited by:
    Benton

Maybe you are looking for

  • "recording what i can hear" in logic ??

    Hi, i want to record what my computer is playing for sampling purposes. I can do this type of thing in sony acid it gives you a "record what you can hear" option but im quite new to logic 8 so im not sure if i can do that?!?!? Thanks in advance guys

  • Filtering Groups on Windows Active Directory using LDAP Authentication

    Hi All, I have small module that filters the groups from the Windows AD using LDAP attributes and flushes the data into the DB[code below]. This module was developed and tested on weblogic 8.1[on windows]and works fine. Now the same is moved to anoth

  • Making package(s) for x86 instead of 686

    I have a need to build a custom version of a couple of Arch packages for use on a special purpose Live CD - these packages are NOT for installing or running on my regular Arch distro itself. The ONLY thing I want to customize for each package is to c

  • Printer goes missing on airport extreme

    How do I get my airport extreme to recognize my wireless printer

  • Populating values dynamically......

    Hi all... I have a scenario where i have....States and Selected States..[both are <html:select>].Districts and selectedDistricts[both are <html:select>] If at all i select a state say Andhrapradesh....then Selected States should be populate AndhraPra