Text jumps after embedding font in dynamic text field!

Hi
this is driving me mad
Im using a standard font (Gotham rounded) within a dynamic text field. As soon as I embed the numerals within this text field the text lowers within the text field.  Double clicking the field then renders the text higher up!  It seems that the height it shows when I double click is the height it compiles at.
The other strange and annoying thing is that my colleague working on the same project is using the exact same font and same file but this doesnt happen to him and so the font redners out differently when he compiles!
Could anybody please help me sort this problem out as its reeeeally annoying
many thanks!
Nick

nobody any ideas?!

Similar Messages

  • Embedding fonts in dynamic text fields

    I am having trouble embedding a font in my Flash file. I have the font in my library. I have the text field selected to that font with the * next to it.
    In my actions I have:
    vid_title_txt.embedFonts = true;
    If I set it to false instead, it shows a different font. But if it is set to true, nothing shows. I am running out of ideas what to look at to solve this issue. What am I doing wrong here?
    Thank you very much for any help with this!

    I am in AS2.
    I followed these steps.
    Open the Library panel (Ctrl+L).
    Add a font to your library - click the options menu in the upper right corner of the panel and select New Font from the menu.
    In the Font Symbol Properties dialog box select the font, size and style that you want and give the font combination a name. Click OK to close the dialog box.
    Right-click the font symbol in the library and select Linkage from the contextual menu.
    In the Linkage Properties dialog box, click the Export for ActionScript button to enable both the Identifier and AS 2.0 Class text input fields. Leave the default Identifier value and click OK to close the dialog box.
    Select the text tool from the Tools panel and draw a dynamic text field on the Stage.
    Give the text field an instance name of "my_txt". In the Font menu select the symbol name you gave the embedded font earlier. You should see a little asterisk (*) beside the name.
    In the Property inspector set the font size and style to match those in the Font Symbol Properties dialog box earlier.
    Open the Actions Panel and add the following code to Frame 1 of your Flash document:
    my_txt.embedFonts = true;
    my_txt._rotation = 15;
    my_txt._alpha = 10;

  • Embed Fonts in Dynamic Text Fields

    Hey, I am relatively new around here although I've been a
    member for years. I am just now starting to utilize my account. I
    do have a question in regards to embedding fonts in Flash 8. I have
    read up on this numerous places and haven't been able to find a
    solution that works for me, whether this my user error or not is
    still TBD.
    I am loading text from a XML document into Flash dynamic text
    fields. I need to be using a handwritting font for these text
    fields. After embedding the handwritten font they are not
    displaying in my dynamic fields but are displaying in my static
    text fields that am I also using on the site. I am controlling my
    dynamic text fields w/ an external stylesheet. I believe I must do
    something "additional" for these dynamic text fields but haven't
    figured out what that is, any help anyone can offer is much
    appreciated! Thanks.

    floateronline wrote:
    > Hey, I am relatively new around here although I've been
    a member for years. I
    > am just now starting to utilize my account. I do have a
    question in regards to
    > embedding fonts in Flash 8. I have read up on this
    numerous places and haven't
    > been able to find a solution that works for me, whether
    this my user error or
    > not is still TBD.
    >
    > I am loading text from a XML document into Flash dynamic
    text fields. I need
    > to be using a handwritting font for these text fields.
    After embedding the
    > handwritten font they are not displaying in my dynamic
    fields but are
    > displaying in my static text fields that am I also using
    on the site. I am
    > controlling my dynamic text fields w/ an external
    stylesheet. I believe I must
    > do something "additional" for these dynamic text fields
    but haven't figured out
    > what that is, any help anyone can offer is much
    appreciated! Thanks.
    the question is a bit too general. There are many ways to
    approach it, from copies
    of text fields with that font off stage, to embedded outlines
    and linkage in the library.
    My guess is that somewhere on the way you did not fully
    complete the outline embed options.
    Either done incorrectly or you miss some action.
    Mind to post detail explanation how you embed the outlines?
    Best if you post an example
    file for us to check.
    Best Regards
    Urami
    "Never play Leap-Frog with a Unicorn."
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Embedded Fonts and HTML Text

    I am attempting to use a non-standard font in an HTML dynamic textbox using the <font> tag.  I have embedded this font using the textbox properties box and the fonts appear in the library.  According to previous posts to this form, that should do it.  But, my fonts are not appearing correctly.  Any advice?

    OK,
    I have given up messing with stylesheets, trying display:
    block, inline, different ways of formatting the XML, messing with
    XML.ignoreWhiteSpace, and XML.prettyPrinting etc.
    I went down the route of encodeURI, using a RegExp to strip
    out all tabs, linefeeds and carriage returns. This now gives
    consistent results for all situations, even embedded and none
    embedded fonts.
    e.g.
    _text:String = TEXT FROM XML, HTML TEXT etc
    var st:String = encodeURI(_text);
    var pattern:RegExp = /(%09)+|(%0A)+|(%0D)+/g;
    st = st.replace(pattern, "");
    st = decodeURI(st);
    YOUTEXTFIELD.htmlText = st;
    The <p> tags still behave as a <br/> tag, but you
    can add an extra <br/> to simulate a paragraph.
    Here is the example again with the updates,
    Hope this helps someone

  • Bold and italic fonts in dynamic text fields.

    I have a dynamic text field with the text "IMAGES". The font
    is Arial, it has BOLD and ITALIC checked, and has basic Latin fonts
    embedded. Now, I use Actionscript to change the text:
    textField.text = "IMAGES";
    Suddenly the text disappears! Now, it seems to me that since
    BOLD and ITALIC are checked on the text field, changing the .text
    value should simply change the text itself, which should then be
    rendered in bold and italic, and since I have bold+italic Latin
    glyphs embedded, it should display properly. But what's clearly
    happening is that when I set the text using Actionscript, it is
    attempting to display the NORMAL font instead, and since it's not
    embedded, it won't display. I know this because if I create another
    proxy text field off the screen and embed the NORMAL Arial glyphs,
    the original text field's text will display just fine - as
    normal-weight text.
    But why is this? Do I have to use a TextFormat object to set
    the text to Bold and Italic EVERY time I want to dynamicaly change
    the text? This seems silly. I simply want my text field to be bold
    and italic every time the text changes, and NO normal text!
    Any ideas?

    I met the same problem using ActionScript3 and Flash Professional CS5. There are two problems with dynamic TextFields:
    - When you set style "Bold" for a text field in CS5, the "bold" property is not available in the TextField object in ActionScript, its defaultTextFormat.bold is alway false; I don't know if we can get this property anywhere else.
    - When you change the text of the dynamic TextField object, its style changes to normal no matter whether it was bold previously.
    This is really a bug in TextField, Adobe should fix this to implement TextField in an expected way.

  • Unable to apply embedded font swf to text in text layout framework

    Hello,
    We have created a swf for a given font (for e.g., Calibri.swf) which contains all the styles (Regular, Italic, Bold, BoldItalic).
    We have created a xml which lists the name of the font and the corresponding swf file path. The names from the xml are loaded into a combo box in the application.
    When we try to apply the selected font to a text in the text layout framework, it does not apply the same. It sets the font to default "Times" font.
    Following is a snippet of code to apply the font to the text:
    private function selectFont(fontXML:XML):void {               
                    var path:String = fontXML.@source;
                    var myEvent:IEventDispatcher = styleManager.loadStyleDeclarations(FlexGlobals.topLevelApplication.url.substring(0,FlexGl obals.topLevelApplication.url.lastIndexOf("/"))+"/"+path);
                    myEvent.addEventListener(StyleEvent.COMPLETE, function(event:StyleEvent):void{
                        var editManager:EditManager = textFlow.interactionManager as EditManager;
                        var itextLayout:TextLayoutFormat = new TextLayoutFormat();
                        itextLayout.fontSize = 20;
                        var fontName:String = fontXML.@name;
                        Alert.show(fontName);
                        itextLayout.fontFamily = fontName;   
                        Alert.show( "itext = " + itextLayout.fontFamily);
                        editManager.applyFormat(itextLayout,itextLayout,itextLayout);
                        var flowLeafElement:FlowElement = textFlow.findLeaf(editManager.anchorPosition) as FlowElement;
                        editManager.changeStyleName(fontName,flowLeafElement);
    Can anyone please let us know what is missing in the implementation?
    Thanks in advance.
    Vikram

    My recommendation: unless you really care about ISWFContext implementations and the application domain issues, ignore Alex's post about embedded fonts.
    It is a nice discussion about the inner workings of the domain and security of how this works but it is imho broken and is an insane concept to require an ISWFContext to just use an embedded font. It also breaks runtime CSS loading that has fonts embedded in it because the Flex compiler (last I checked) was also busted – it doesn't include the function necessary to create within context the font embed so that it may be applied. You can't create an ISWFContext with a compiled CSS file.
    These issues were introduced in the last Flex SDK beta before FB4 was released in final form. There are multiple bugs logged against the issue of applying loaded font files to TLF text (in short, SWFContext is broken and you have to override GlobalSettings.resolveFontLookupFunction to return embedded or null, all the time).
    Here's some more details to get you started - with links to at least one of the SDK bugs that were filed:
    http://forums.adobe.com/message/2656152
    For example:
    import flashx.textLayout.elements.GlobalSettings;
    import flash.text.engine.FontLookup;
    GlobalSettings.resolveFontLookupFunction = function makeValid():String { return FontLookup.EMBEDDED_CFF };
    And you may need to do this after your font is loaded:
    yourTextBlock.textFlow.invalidateAllFormats();
    Disclaimer: I haven't seen the latest Flex SDK release to see if this was fixed. I have an AIR application with native process that builds embedded font SWF files for use and stub code for FB4 usage but haven't updated to the latest SDK yet to see if it's working properly.
    Anyhow, your best bet is to look at the Flash Builder forums. I think this is/was a Flex team issue, not TLF.

  • Gumbo text elements and embedded fonts

    Hi again,
    ok I found the solution. The first time, I searched in the "CSS Advanced Selectors" spec document for the solution and I found nothing about it. Then I had the "great" idea to look in the only right place which is of course "Text Primitives (TextBox, TextGraphic, and TextView)". There I found the hint about "DefineFont4" which, with some search, led me to the solution:
    1. Add the new property "cff: true" in the "@font-face" css block
    2. Set the property fontLookup="embeddedCFF" for the text element
    et voilà!
    I hope this will save somebody else some time!
    Haykel Ben Jemia
    Allmas
    Web & RIA Development
    http://www.allmas-tn.com

    OK,
    I have given up messing with stylesheets, trying display:
    block, inline, different ways of formatting the XML, messing with
    XML.ignoreWhiteSpace, and XML.prettyPrinting etc.
    I went down the route of encodeURI, using a RegExp to strip
    out all tabs, linefeeds and carriage returns. This now gives
    consistent results for all situations, even embedded and none
    embedded fonts.
    e.g.
    _text:String = TEXT FROM XML, HTML TEXT etc
    var st:String = encodeURI(_text);
    var pattern:RegExp = /(%09)+|(%0A)+|(%0D)+/g;
    st = st.replace(pattern, "");
    st = decodeURI(st);
    YOUTEXTFIELD.htmlText = st;
    The <p> tags still behave as a <br/> tag, but you
    can add an extra <br/> to simulate a paragraph.
    Here is the example again with the updates,
    Hope this helps someone

  • Using HTML text with an embedded font in Flex 4

    I have spent a day searching the interwebs and have not found a working example of how to use an embedded font with html formatting.
    Anybody know if it can even be done??

    Should be doable, but all fonts used in the html have to be embedded, and
    one of the fonts should be specified as the fontFamily for the component.

  • Embedded Fonts on Dynamic Label Component

    I am working on a project that calls for multiple label
    components to be dynamically rendered based on a selected comboBox
    selectedItem. The comboBox is a choice of fonts available to the
    user - all of which are embedded fonts. For some reason, the fonts
    are not embedding correctly for systems that do not have the font
    on the system.
    I have added the fonts to the library and selected "Export to
    ActionScript" as well as "Export in First Frame" (although I want
    to preload these later once this issue is resolved). In my steps to
    simplify and solve, I created a basic movie with a label on the
    stage with an instance name of "label0".
    In my Actions frame, I use the following code:
    label0.text = "This is a font test";
    label0.setStyle("fontFamily", "Vivaldi");
    label0.setStyle("fontSize", "40");
    label0.setStyle("embedFonts", "true");
    I have seen examples on the web where someone uses
    label0.embedFonts = true; but that doesn't seem to work either. I
    have also tried various fonts to verify the font will embed.
    Thinking I may not be embedding it correctly, I checked the
    bandwidth profiler and variables list and the size goes up after I
    try to embed the font as well as the label0 variables correctly
    show embedFonts = true as well as the fontFamily is set to Vivaldi
    (sample).
    Many people have used Dynamic Text Fields but I need to use a
    Label so I can use the autoSize feature as users are allowed to
    choose their own font size (between 10pt and 40pt). The label
    component seems to be the right option for me with the exception of
    the font selection. To be safe, I added a dynamic text field and
    embedded the fonts there as well and hid it off stage. When viewing
    it on another system, the dynamic text field worked (poorly) but it
    showed the font. The label did not show the correct font.
    Any help would be greatly appreciated.
    Thanks

    Yes, when I set label0.setStyle("fontSize", "40"); the size
    changes for both systems (the one that has the font installed as
    well as the one that doesn't). On the system that doesn't have the
    font, it appears as a Times New Roman font in large type.
    Reference:
    Using
    styles with the Label component (Adobe Live Docs)

  • Embedded fonts and hidden text

    I've just discovered that any font used in hidden text only isn't embedded. Has anyone else found this?
    My hidden text includes Times New Roman italic. This text becomes visible on the preprint event. TNR italic isn't used for any non-hidden text. If the user fills out the form and prints it, fonts are perfect. However, if the user fills out the form and saves it, TNR italic isn't embedded in the form. Later when the user opens the form to print, the previously hidden text actually prints in Arial!

    Yes, you can dynamically load the needed fonts at run time.
    Doc is here:
    http://livedocs.adobe.com/flex/3/html/styles_10.html
    hth,
    matt horn
    flex docs

  • Letters disappear after embedding fonts in acrobat.

    Hello,
    I am working on my thesis and I have to have all of my fonts embedded. I used Latex to create a pdf/ps and now I am trying to figure out how to get the fonts embedded.
    From what I have read, acrobat and distiller can do this. When I run the ps through distiller, it embeds all my fonts but Times and Helvetia. So I tried running the pdf through acrobat. I used the preflight tools to embed all fonts, which works but after a letters like i, l and t are all missing from my document.
    Anyone know how to fix this. I have to have all my fonts embedded. Any way to do this or help would be much appreciated.

    No, that particular menu is specific to Acrobat. Even though I'm using the Touchup Text tool, the TouchUp Text menu doesn't want to come up properly. Anyone know how this could happen? Any suggestions to fix it?

  • How to change the text color of certain word in dynamic text field

    i know in html css can done by this <td style="red">You
    are now at <span style="yellow">home</span></td>
    .... the "home" word can change to another color .... any one who
    know this can done in flash , please give some advice or example

    look in the help file for 'setTextFormat', which can be
    applied on a whole
    text field or only part of it.
    "adreny" <[email protected]> wrote in
    message
    news:fb0hon$38q$[email protected]..
    >i know in html css can done by this <td
    style="red">You are now at <span
    > style="yellow">home</span></td> .... the
    "home" word can change to another
    > color .... any one who know this can done in flash ,
    please give some
    > advice or
    > example
    >
    >
    >

  • Dynamic text not displaying when publishing for flash 8

    This dynamic text works fine when the movie is published for
    flash 7, but when i export for the flash 8 player it seems to be
    invisible. Is there any obvious reason for this happenning?
    thanks
    jon

    Ok, thanks, looks like you've pointed me in the right
    direction. I havent fixed it yet though. Heres where i am at:
    eval(theTarget+".buttonPrime").tex.embedFonts = false;
    now i can see my text. of course its using a default font.
    var my_fmt:TextFormat = new TextFormat();
    my_fmt.font = "arial14b";
    eval(theTarget+".buttonPrime").tex.embedFonts = true;
    eval(theTarget+".buttonPrime").tex.text = "wasssup?";
    eval(theTarget+".buttonPrime").tex.setTextFormat = my_fmt;
    this isnt working. I have added a font object to the library
    and linked it for actionscript using the monkier "arial14b".
    however my text is quite invisible. i have checcked, 'export in
    first frame' for the font object i even tried it with this
    deselected. i have deselected the embed font option on the text
    feild itself. that doesnt work either (unless i dont try to set the
    text format, so long as i accept a default font, its fine).
    so err, help?
    confused
    jon
    ps further to this is have discovered more about this strange
    behaviour. i can set the text to a different string, provided i do
    not try to embed the font in any way. if i set the font to embed, i
    can have the text display with the correct font, until i change the
    text. then it dissappears. also i cannot seem to affect properties
    like font size by means of my TextFormat object. the textFormat
    object also does not seem to affect the font of the text.
    in short, when exporting for flash 8, i cannot seem to
    successfully embed fonts for dynamic text. the only thigs i have
    gotten to work are: static text (or a dynamic text feild with
    unchanged text) with an embedded font, or dynamic text with a
    default font.

  • FONT issue in flash with Dynamic text

    I dont even know how to start this thread... I am having a
    serious problem with fonts on the flash movie I am Making/
    Modifiying. The Font that is being used is "standard 07_53" and I
    have been trying to understand how flash works with the fonts but
    somethings are just making me scratch my head. First off :
    - I tried using both the anti-alias for readability and the
    anti-alias for animation... the anti-alias for animation seems to
    creat sharper text in most cases.. + I am embedding all charachters
    when I do that (I know this makes my file way too big, but I am
    trying to figure out where I am going wrong)
    - Q1 : I found out changing the position of where my text box
    is on the document changes how clear the text is in the final
    puplication. Now That I have not even the simlest idea why... does
    anyone know?
    - Q2 : The justify problem... whenever I use Justify my text
    is all messed up... I even tried to change the font to Arial for
    example and it still makes some of the text a bit blurry (well it
    is blurry enough that I can notice it right away).. why does this
    happen?? and is there any kind of solution to this problem?? I
    definatly want my text justified
    - Q3 : Do I and why, have to embed the font in each text box,
    wouldnt one embeding be enough if using the same font in all the
    other text boxes?
    - Q4: Why do I see the text differently on different
    computers.. and this realy is in relation to Q1.. on my monitor all
    looks good on the published document, yet on other monitors and
    computers it looks completely fussy untill I change the position of
    that text box.
    -Q5: are there any sites that go in depth about Fonts and
    dynamic text and how they end up rendering in flash?
    you can see my problem with justified text at :
    http://www.alwayscoffee.com/mirror/flash/
    then click on COMPANY and then look at the text under "ABOUT
    US"
    by the way I am using flash 8 and publishing (flash settings
    of:) flash player 8 - action script 2.0 - compress movie option
    CHECKED - and jpeg quality 80
    I apriciate all the help I can get.
    Layth

    Hi,
    as you I don't even know where to start, as it is (as you
    have noticed) quite a complex thing. If you are still interssted in
    the subject, drop me a line, and I try to answer some of your
    questions.
    markusma
    _remove_thieu@macDOTcom

  • Dynamic text boxes, font size issues

    I have created a dynamic text box and an input text box.
    I have produced code that replicates whatever is typed in the
    input box to display in the dynamic box along with a date and time
    stamp once a button is clicked.
    This all works fine, except for the sizes of the fonts. for
    both boxes, i selected font size 10 . The input box is fine,
    however the dynamic box text is huge.
    When i make the dynamic text font smaller, it fits in fine,
    but the input text that is inserted into the dynamic text box comes
    in too big. If i make the input text box font smaller it is
    unreadable when typing it in.
    any soultion to how to make my font consistent. I am assumin
    the problem is because both the text boxes are different sizes,
    however i don't know how to resolve the issue.
    Any help is much appreciated.

    var today_date:Date = new Date();
    var date_str:String =
    (today_date.getDate()+"/"+(today_date.getMonth()+1)+"/"+today_date.getFullYear());
    var my_date:Date = new Date();
    var boat = ""
    btn_send.onPress = function() {
    var today_date:Date = new Date();
    var date_str:String =
    (today_date.getDate()+"/"+(today_date.getMonth()+1)+"/"+today_date.getFullYear());
    var my_date:Date = new Date();
    date_txt = date_str + " " + my_date.getHours() + ":" +
    my_date.getMinutes() + ":" + my_date.getSeconds() + " " + boat;
    the text appears in the dynamic box it just is a mish mash of
    font sizes!!!

Maybe you are looking for

  • How do I reduce the time from the detection of a input threshold to changing the output?

    Hi, I am using LabWindows 8.1 and a PXI-4461 with Vista (home) on a 2.81 GHz Dual Core Processor.  I wrote code to do the following: (1) output a ramp, input a signal concurrently (precise sychronization of these two is not important at this point) (

  • Can remove agentless managed sql instances from machines that no longer exist

    We have a couple of clustered sql servers that are no longer powered on. They had several sql instances on them. We are not able to remove the sql servers from SCOM 2012 SP1 because they have agent less managed devices (the sql instances) We can remo

  • DeliveryException: invalid content type for SOAP: TEXT/PLAIN; HTTP 302 Move

    Hi everyone, Hello all, I have an RFC->XI->Web Service (SOAP) synchronous scenario. I'm trying to send a message from the the RFC, and in the message monitoring (SXMB_MONI) I'm getting this error message:   <?xml version="1.0" encoding="UTF-8" standa

  • Transaction Value with negative inventory

    Dear Experts, I need some help understanding why negative quantity inventory can result in a huge transaction value for an inventory item. Let me give an example. We do allow negative inventory. We manage inventory by item group and we use FIFO. We h

  • Mountain Lion stopped downloading.

    I JUST opened my MacBook Air and I'm in the process of downloading the Mountian Lion OS. It was free and was going fine then STOPPED! In both the Launch Pad and The App Store. Then the downloading time started growing and hit like 21 hours.. So I sto