CS5 - Text format for classic text error

will now have to re-edit every part.
Clearly you can get around this by other formats but fact is if you have a document that has negative spacing dont open it in CS5 cause you
This may have been in recent update.
Flash now resets them when you open the file to 0, if you notice or not.
when you have negative (-20) set in spacing, usually used when you have margins.
Classic Text Error
Flash CS5

Here's a workaround.
FixTextIndent is a class with static methods that
provides a workaround for the Flash CS5 text formatting
bug.  The Flash CS5 IDE will not remember the text
indent setting for either static or dynamic text fields.
We can set the indent in Actionscript for dynamic fields,
so to use this class, convert your fields to dynamic,
then set the left margin.
When you call FixTextIndent methods, they will set
the indent to the negative of the left margin.
Gary Weinfurther, 12/17/2010
package com.keysoft.util
    import flash.display.DisplayObject;
    import flash.display.DisplayObjectContainer;
    import flash.text.TextField;
    import flash.text.TextFormat;
    public class FixTextIndent
         Fixes the line indent of all dynamic text fields
         in a given display object container so that
         the indent is the negative of their left margin.
        public static function FixContainer(container:DisplayObjectContainer):void
            for(var i:int = container.numChildren - 1; i >= 0; --i)
                var obj:DisplayObject = container.getChildAt(i);
                if (obj is TextField)
                    FixTextField(obj as TextField);
         Fixes the line indent of a dynamic text field
         to the negative of its left margin
        public static function FixTextField(tf:TextField):void
            var format:TextFormat = tf.getTextFormat();
            if (format.leftMargin != null && format.leftMargin > 0)
                format.indent = -(format.leftMargin as Number);
                tf.setTextFormat(format);

Similar Messages

  • Using BSP text editor for long text formatting

    Hello,
    We are using CRM 7.0. We want to perform simple formatting for the long texts (bold, fonts etc.) We are considering to use thtmlbx <btf:btf> element for text editing. The question is how is it possible to save the formatted text as the long text? Is there any standard way to perform it?
    Thanks in advance,
    Sergey

    Hello,
    In the CRM system there are standard views that display long texts connected to the objects. They are stored in the standard tables and not in the ztables. I just want to enable formatting for this text, to store it formatted in the system and next time the user opens the object to show him the formatted text.
    Thanks in advance,
    Sergey

  • [svn] 3148: You can now use CSS styles to set the default text format for TextView.

    Revision: 3148
    Author: [email protected]
    Date: 2008-09-08 15:01:15 -0700 (Mon, 08 Sep 2008)
    Log Message:
    You can now use CSS styles to set the default text format for TextView. It no longer has any formatting properties. It supports the entire set of Gumbo text format styles.
    SkinnableComponent and Group now also support all these styles. However, skins such as ButtonSkin, TextInputSkin, and TextAreaSkin continue for now to specify instance styles on their TextBox, TextGraphic, and TextView, in order to give them a Gumbo look rather than a Halo look. So if you try setting, for example, the fontSize on the Application, it doesn't yet affect the text format of a Button, TextInput, TextArea, etc. unless you remove the instance style in the skin.
    Reviewer: Glenn
    Bugs: -
    QA: Lots of new stuff to test!
    Doc: No
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextArea.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextInput.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/component/TextView.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/Group.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/core/SkinnableComponent.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/TextBox.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/TextGraphic.as
    flex/sdk/trunk/frameworks/projects/flex4/src/flex/graphics/graphicsClasses/TextGraphicEle ment.as

    Nevermind guys - I did it using the 'rb_on.selected' command on the "on" radio button if the .txt file variable was "on", else the "off" radio button is selected.
    Thanks for taking a look though!
    Shaun

  • PS: What is PS Text, Text Types for PS Text?

    Hi,
    I came across this config: Project Systems > Documents > Define Text Types for PS Text.
    Can you explain what it is and where it could be found?
    Thanks!

    Hi Vivian,
    Go to SPRO>Project System>Documents>Define Text type for PS texts.  Read the document adjacent to the indicator. That explains you the purpose.
    PS texts are user-definable texts that are managed in a PS text catalog. The texts are grouped according to text type and can be created in several different languages. You can create PS texts in SAP Script format or using Microsoft Word. The files in question are stored in the R/3 database. You can assign PS texts to one or more WBS elements or activities.
    To create PS text for any WBS element, go to the detail screen of that "WBS" in project builder, click on "PS Text OVerview" for eg. Create a PS text called Specification with text type 01 (Function Description) and format 2 (DOC Format)
    Enter a text of your choice in the Microsoft Word Editor.
    Regards,

  • I purchased a text tone from Itunes.  It shows up in my library, but not as a text tone.  Is there a way for me to set it as a text tone for all texts?  Or I am stuck with factory settings?

    I purchased a text tone from Itunes.  It shows up in my library, but not as a text tone.  Is there a way for me to set it as a text tone for all texts?  Or I am stuck with factory settings?

    So it is conseidered a customized text tones even if it was purchased through iTunes?  Confusing.  Since I bought it through itunes as a text tone I assumed it would work.  OOOPS
    Thanks so much

  • Text Area for long text not appearing properly for BBP_POC_DISPLAY Service

    Hi,
    In our development we have added additional Icon at ITS in Process PO transaction and onclicking  that icon Web dynpro AB screen called with the Purchase Order No of selected row .(SRM 5.0)
    There is one more icon in Web dynpro screen on click of that Purchase order service open in ITS with display mode .This is achieved with service BBP_POC_DISPLAY from Web Dynpro-AB.
    This is also working ok only the issue is in Document tab of PO The Text Area for long text appear at Top  .This functionality is working fine with BBP_POC  service from ITS .
    Has anybody faced this kind of issue ?
    Thanks,
    SMS

    Hi SMS,
    I am unsure of the additional component you are talking about. In general, issues with text area misplacing, is solved by note 1067625. May be you can check it.
    thanks,
    Ashwin

  • How to find the text id for the text in the sales order

    Hi all,
    How to find the text id for the item-text in the sales order?
    There are different Text available in  the sales order under item like Warehouse instruction, CSR instruction...
    I want to know the corresponding Text id for the text ELECTRONIC ORDER COMMENT.
    Table TTXID contains the validation of the Text id.
    Please help me in knowing the way to identify the text-id from the text list..
    Thanks foryour help
    Suresh Kumar

    U can fetch the texts for the items using
    Read_text.
    Example:
        g_f_tdname = xvttp-vbeln.
        g_f_obj = p_obj.
        g_f_langu = 'DE'.
        REFRESH g_t_lines.
        CLEAR g_t_lines.
        CALL FUNCTION 'READ_TEXT'
             EXPORTING
                  id                      = p_var
                  language                = g_f_langu
                  name                    = g_f_tdname
                  object                  = g_f_obj
             TABLES
                  lines                   = g_t_lines
             EXCEPTIONS
                  id                      = 1
                  language                = 2
                  name                    = 3
                  not_found               = 4
                  object                  = 5
                  reference_check         = 6
                  wrong_access_to_archive = 7
                  OTHERS                  = 8.
        IF sy-subrc <> 0.
         MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                 WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    The Required fields are,
    Text-id ,language,name,object.
    Let me know if you further require help.
    Regards

  • Default gutter width for drawing text boxes for overset text

    I have master pages that were created with columns and the correct gutter width we want. When I drag a story from a window (a window that is part of our CMS) and place it on the page, the gutters between the text columns are correct -- p9 (or 0.125 inches). But if I draw a new text box or if I click the red plus to draw a text box for overset text, the gutter is a full pica (or 0.1667 inches).
    I want any text box that is drawn on the page or any overset text box that is drawn to default to p9 for gutters.
    I don't want to manually change the gutter for every new text box I draw.
    I'm using ID with CS4.
    Thank you.

    The default gutter in a multi-column frame is set in the object style under Text Frame General Options. If you haven't defined any new styles you only need to edit the [Basic Text Frame] style. New frames will use the new gutter value when you add columns. If you have object styles for other text frames, you'll need to edit those, too. For existing frames, if the number of columns has been changed manually, you will need to reset the gutter.

  • To find text id for particluar text object

    Hi All,
    how to find the text id for particluar text object. Means the standard text has been given but the name if text idd is not mentioned in so10, is there any table where we can be able to find the relevant text id for given text object.
    usefull anwer will be rewarded.
    Thanks,

    Hi,
    use the table TTXID.
    rgds,
    bharat.

  • Can Pages 4.3 maintain defined text formatting for at a given list level?

    I'm hoping the answer to this question is a simple 'duh' solution that I some how over looked. I'm using Pages 4.3 and I am trying to create a tiered list to organize ideas into different sublevels. I want to be able to write at a particular level, then create sub levels (return -> tab) with different formatting so the levels are easily distinguished at a glance. When I move back to the higher levels (return -> shift + tab), Pages maintaines the text formatting I used at the lower level, rather than returning to the previously used format at the higher level. For example, what I want is ....
    Main 1             --- (Return -> Tab)
    Sub 1             --- (Return -> Shift +Tab)
    Main 2
    What I get is...
    Main 1             --- (Return -> Tab)
    Sub 1             --- (Return -> Shift +Tab)
    Main 2
    This means that anytime I move up or down in the tiers of a list, I need to redefine the formatting for each new bullet. I tried creating my own list styles, but that does not appear to preserve changes made to fonts or sizes. This seems like such a simple function and time saver that I feel like I must be doing something wrong. It has been a while since I used pages, but I don't remember having these problems before. Does pages really require one to reset the formatting everytime the move between list levels?

    Thanks Michael!
    So your suggestion is to create the pricing in ECC and then download it in CRM...
    Now tat would mean that first the mapping has to be performed in ECC for the existing paroducts and product category..then create pricing for those mapped prod. cat. in ECC and then download it to CR M..plz correct me if I am wrong...
    regards,
    Aneesh

  • Using paragraph format for long text...

    Hello,
    When I try to print the long text using include then
    it starts printing from the very first line.
    But I want to use some paragraph format for it. How can I use it because I am using
    /: INCLUDE '200007200000100' OBJECT AUFK ID KOPF
    So where do I mention the paragraph format in the tag column becaue I am already using /: controll command in font of the include ?

    Check this thread...
    SAPScript - Standard Text
    It looks like the PARAGRAPH P2 statement can do that declaration, on the subsequent line.
    This website also has some good examples:
    http://www.henrikfrank.dk/abapexamples/SapScript/symbols.htm
    Cheers,
    John

  • SMTP - Output Formats for RAW Text

    Hi,
    I am trying to set the output format in transaction SCOT for RAW Text. I want to set the format to HTM. However, HTM does not exist in the dropdown menu. Does anyone know how I can get HTM as an option for RAW Text?
    Thanks
    /Elvez

    Hi Elvez,
    Check note 698124 SAPconnect: Customer-specific format conversion, let me know if it
    solved your request ?
    Ari

  • What is best format for simple text animation in iWeb?

    I want to use a simple text animation "movie" in my site using iWeb.  I don't want the controller visible -- and I want the animation to play automatically.  I went to Inspector and checked for it to start automatically, but no effect.  I still have to manually click on it.  The mov file plays fine, but not automatically. 
    Second question:  is mov the best file format for what I'm tryin to do?  I admit to getting lost with all these formats/codecs.
    Thanks.

    Its not so much the movie format that matters as the way in which you decide to play it on your page.
    Dragging a movie file onto the iWeb page requires that the visitor has the QuickTime plugin - which a lot of people don't. Flash is not the answer anymore due the fact that iOS devices don't support it unless you provide fallback to HTML5.
    Here are some alternatives...
    http://www.iwebformusicians.com/Website-Movie-Video/Flow-Player.html
    http://www.iwebformusicians.com/Website-Movie-Video/Fallback-To-Flash.html
    http://www.iwebformusicians.com/Website-Movie-Video/JW-Media-Player.html
    http://www.iwebformusicians.com/Website-Movie-Video/Easy-Movie-Player.html
    Some stuff about movie files...
    http://www.iwebformusicians.com/Website-Movie-Video/Movie-Formats.html
    "I may receive some form of compensation, financial or otherwise, from my recommendation or link."

  • Formatting for Standard Texts  not Applying

    Hi ,
    Now Ia m working on BTE's . In BTE function module I am  writing some text and saving it By SAVE_TEXT. In that Iam possing all the variables Including Style Name.And I am using this standard text as a body of the email.In that email Body the Formating options are not appying.
    Can anyone throw some inputs on this.
    Regards,
    Eswar

    thanks for you response,I am sending plain text.I am facing formatting issuse .How to do formating for body of email .

  • Mass Formatting for Repetative Text Items

    Recently I was working on an InDesign document that had a Atlas section higlighting each state on a seperate page. Each page had the same headers and this was repeated throughout the document. So in the case of this particular document the 8 headers on each page were repeated 50 times throughout the document. As I was applying styles to each of these headers I thought to myself, man it would be nice if you could define a set of conditions to InDesign character styles. Kind of like setting an email app to auto-sort certain messages if they contain a phrase or word."
    For example you could create a condition that says:
    If text after hard return reads "Quality Improvement Process" apply style "Subhead Style 2"
    If you wanted "Subhead Style 2" to be applied to several different paragraph headers you could simply add a new condition. Then it would be just a matter of going through the document to make sure that condition didn't get accidentally applied where it shouldn't have. What is a 3 to 4 hour formatting job could become a half hour process.
    Thoughts anyone?

    Actually, I may have misinterpreted the question.
    First, if the same information is repeated in the same place on many pages, it belongs on the master page. Type once - appears many, andy you only need to edit one place. Variables are valuable for making running heads on a master page as you use the variable tag, and it can pick up the correct text from the page.
    If you need to style this text in order to work with variables (or for any other reason) you can use find/change to do it. Search for the text in question, replace it with itself, and in the change formatting options apply the style.
    Peter

Maybe you are looking for