Skip navigation
epicwolfboy
Currently Being Moderated

CS5 - Text format for classic text error

Jun 22, 2010 8:26 AM

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

 
Replies
  • Currently Being Moderated
    Jul 7, 2010 10:41 AM   in reply to epicwolfboy

    I just encountered the same problem while opening a flash CS4 file in CS5. All the work I had done setting bulleted type was undone. There doesn't seem to be any way to set bulletted type in classic text mode now. A bit of a bummer.

     
    |
    Mark as:
  • Currently Being Moderated
    Sep 14, 2010 6:02 PM   in reply to epicwolfboy

    I've had the same problem. So annoying. Why hasn't this question been answered?

    It's an obvious bug, has it been fixed?

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 5, 2010 11:14 AM   in reply to epicwolfboy

    Same here. I just found out about this lovely issue today.

     

    I hope they fix it, but now that Adobe pretty much as a monopoly on the whole creative suite of software applications I am not holding my breath. Once a company has a monopoly sure they will make improvements, but by no means are they in a big hurry to do so.

     

    It would be nice if Classic Text IDE text editing even had BASIC typesetting features like tabs/margins, etc.

     

    Trying to set and control type in Flash is really crummy compared to any other Adobe product and I know it goes back to Macromedia days.

     
    |
    Mark as:
  • Currently Being Moderated
    Dec 17, 2010 6:26 AM   in reply to DrunkCyclist

    Same problem here.  Bulleted text seems to be impossible because it CS5 forgets the indent

    setting.  Has anyone come up with any workarounds?


     
    |
    Mark as:
  • Currently Being Moderated
    Dec 17, 2010 7:25 AM   in reply to elmonty2

    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);
                }
               
            }
        }

     

    }

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 22, 2011 9:53 AM   in reply to epicwolfboy

    This problem has been driving me crazy.  Every time I open a file I have to add the negative spacing back in (used with the margin to emulate bullets).  Has this bug been fixed in CS5.5?

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 22, 2011 9:57 AM   in reply to BevSDC

    Yes and no.  Yes, it has been fixed so that when you open the FLA, the

    spacing is remembered.  But no, it is not remembered at runtime after you

    publish the file.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points