How Do I Change TextInput Font?

Hi,
I am using Adobe Flash CS5 and Action Script 3, but I am struggling to do something really simple (which means I am looking in the wrong place probably), I have 5 TextInput fields, I have added to the stage via the 'Components' option, but after discovering how to change the colour of the fields, I now want to change the font which appears when you type directly into the fields when the Flash movie is playing, however I can't seems to find this function.
I found a tutorial which mentioned going to the properties panel and then clicking 'Character, then 'Embed Font', but this maybe in CS4?
Any help would be great! 

Thanks for your very quick reply kglad, I have followed the steps you outlined, my components instance name is 'ti', the font class is 'Harper', do I place this code within the timeline under actions or in the class I generated through the library, called Harper.as?
It is just I keep getting an error of 'access to undefined property ti' and also 'TextFormat is not compile-time-constant'.
Here is my class instance of Harper.as:
package  {
    import flash.text.Font;
public class Harper extends Font {
  public function Harper() {
  var tfor:TextFormat = new TextFormat();
var f:Font = new Harper();  // F is your font class name - see below
tfor.font = f.fontName;
tfor.color = 0xFF0000;
tfor.size = 18;
ti.setStyle("embedFonts",true)
ti.setStyle("textFormat", tfor);
   // constructor code
Many Thanks

Similar Messages

  • 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 can I change the font and color of an email signature?

    How can i change the font and color of an email signature?

    Mail > Preferences > Signature
    Highlight the Signature.
    Click Format in the menu bar and select " Show Fonts".
    Select the Font.
    Highlight the Text.
    Click Format in the menu bar and select " Show Colors".
    Select the color.
    Mail > Preferences > Composing > Message Format:  Rich Text
    Best.

  • How do I change the font size of a document when I PRINT?

    How to I change the font size of a document when I print it?

    To specifically and fully answer your question, no, you absolutely cannot change the “font size” as a function of print.
    First of all, there isn't a single “font size” associated with a PDF file (and we assume you are referring to a PDF file since this is an Acrobat forum).
    Secondly, PDF is a final form file format meaning that the content is static in terms of location, size, etc. on the page. To change the point size of any particular text, you really need to go back to the source document and make the changes there.
              - Dov

  • 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 do I change the font color for numbering in a matching question slide?

    I have a grey image on a question slide, but the numbering for the answers in a matching question is defaulting to grey so learners can't see to match up.  How can I change the font color of these choices?  Thanks.

    You probably edited the master slide without changing the theme colors? Check the Object Style for Answers in the Object Style Manager. The numbering takes the same color as the answer text.
    All depends on the Theme colors palette that you are using. Normally Question answers use the darkest tint of the fourth color. I started blogging about color management, but description of the use of Theme colors will be published later.
    Colorful 2015 with Adobe Captivate - Captivate blog

  • How do I change the font color in Live Type?

    How can I change the font color in Live Type?

    By trial and error, I also learned that the slide icon just to the right of the color box must be moved to the right in order for the new color to be visible. Of course, the amount to which the slide is moved determines the intensity of and color. Thanks for putting me on the right track (no pun intended).

  • HOW DO I CHANGE THE FONT OF "Message to Display" IN THE Prompt User for Input

    Hi,
    HOW DO I CHANGE THE FONT OF "Message to Display" IN THE  Prompt User for Input?
    Thanks for your help 
    XN 

    Right click and select Open front panel >> Convert.
    Change the vi as you need. then you can save it as a normal sub-vi.
    If you have Labview 8.6, maybe (i am not sure) you can edit the express vi. Express vis are supported in 8.6

  • How do I change the font size and color in a text box?

    How do I change the font size and color in a text box?

    Really frustrating to find the first time but simple once you figure it out. I think I spent hours trying to find this. Simply right click on a blank spot in the toolbar up top and select Properties Bar. There it is! The available properties will change depending on whether you have the content (text) selected or the box itself.
    I haven't found a way yet to make it show up as a regular part of the toolbar. It floats around and gets in the way so I don't leave it on and then have to open it again when I need it. Again - frustrating; but at least it's there!

  • How do you change the font size?

    This is a rather simple question.
    How do you change the font size in flex builder 2?
    In the preferences for flex>editors there is no option to
    change any font settings.
    i'm sitting quite far away from my LCD and can hardly make
    out the text.

    Window -> Preferences -> General ->Colors and
    fonts

  • How do you change the font size in grey area of toolbar?

    How can I change the font on the grey area to make it bigger? I updated to mountain lion and it changed the font.

    Those are hard coded, and cannot be changed as far as I know, without delving into the application itself with a code editor.

  • How do I change the font size in iPod touch with iOS 6.1.3?Thanks

    How do I change the font size in iPod touch with iOS 6.1.3?Thanks

    I have an custom app that I want to change the size of the fonts cause the app font size is too long so i cannot see the whole sentence. thanks.

  • How do you change the font of everything?

    How do you change the font of all text?

    You cannot. Only you can adjust the size the default font.
    You can only have font options in Notes.

  • How do you change the font color in CALL-OUT text boxes in PRO XI?

    How do you change the font color in CALL-OUT text boxes in PRO XI?

    It's not so simple to find it if you don't know what you're looking for... But it can be found via View - Show/Hide - Toolbar Items - Properties Bar.

  • How can you change the font size in the application and system headers?

    How can you change the font size in the application and system headers?  I searched the system and finder prefs to no avail.  Changing the screen density is not a good option.
    Thanks

    I downloaded Tinkertool.  Found the font section and increased the size of most selections.  The only thing that changed that I can see is the window label.  The apple line, bookmarks line, the tool bar in safari are all the same---font size of about 4.  Found the finder "show view options" but that didn't seem to change anything either.  I'll keep working.  Restarted all apps after changes as well.

Maybe you are looking for

  • TCP/IP connection with external device

    Hi, I need establish TCP/IP connection to my hardware device which has ip(10.102.20.90) and port no as 9012 by setting static ip. Since i am new to this protocol i am bit worried about how to make communication between my pc to hardware. Here my labw

  • Samsung 1440x900 monitor on a PPC mini

    Hi- Usually find me over in the networking area, but I found a good deal on a Samsung 931BW, wide-screen LCD. I'm running a PPC mini 1.25Ghz, Tiger 10.4.8 Has anyone had success on a mini to get 1440x900 resolutino to display properly? Ive looked at

  • Rule File encoding unknown

    Hi All, I am trying to open a Rule file, it is asking ,Please select the encoding for your file.. I tried with multiple Encoding selections, but i din't see the content of the Rule file, It says "Encoding Unkonw". Could you please help. Thanks Regard

  • Import Folder doesn't complete

    Hi! I try to import my mp3s from a backup directory. iTunes imports about 130 files and then stops importing, but there are a lot more files that I can't import?! If I go to a subfolder it works, but going through a thousand subfolders manually? Is t

  • Why i can`t update to i05 my iPhone 4?? After i have downloaded 5 time iOS 5 show me a advice that says My iPhone is not avaliable to do the upgrade

    I can´t update my iphone show me a advice of my iphone is not elligible to do de upgrade¡¡, Someone could help me Plz??