8 Replies Latest reply: Aug 22, 2011 9:57 AM by elmonty2 RSS

    CS5 - Text format for classic text error

    epicwolfboy Community Member

      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

        • 1. Re: CS5 - Text format for classic text error
          epicwolfboy Community Member

          ps i dont know why that came up in reverse... dont ask me.. lol

           

          Flash CS5

          Classic Text Error

          when you have negative (-20) set in spacing, usually used when you have margins.

          Flash now resets them when you open the file to 0, if you notice or not.

          This may have been in recent update.

          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

          will now have to re-edit every part.

           

          also my version is

          11.0.0.485

           

          if you dont believe me try it.

          open cs5

          create classic text.

          spacing = -20

          margin = 50

          type.. dgafga

           

          save, close file(dont have to close flash) open file

           

          positives keep but not negatives.

          • 2. Re: CS5 - Text format for classic text error
            john.hofstetter

            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.

            • 3. Re: CS5 - Text format for classic text error
              RobRoyce3

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

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

              • 4. Re: CS5 - Text format for classic text error
                DrunkCyclist Community Member

                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.

                • 5. Re: CS5 - Text format for classic text error
                  elmonty2 Community Member

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

                  setting.  Has anyone come up with any workarounds?


                  • 6. Re: CS5 - Text format for classic text error
                    elmonty2 Community Member

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

                     

                    }

                    • 7. Re: CS5 - Text format for classic text error
                      BevSDC

                      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?

                      • 8. Re: CS5 - Text format for classic text error
                        elmonty2 Community Member

                        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.