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
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.
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.
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);
}
}
}
}
North America
Europe, Middle East and Africa
Asia Pacific