Paragraph align
Hello,
I use this code from Livedocs Documentation:
/////////////////////////////////////////////////////////////////////////////////////////////////////////
var config:Configuration = new Configuration();
var charFormat:CharacterFormat = new CharacterFormat();
var paraFormat:ParagraphFormat = new ParagraphFormat();
charFormat.color = 0x000000;
charFormat.fontFamily = "Arial, Helvetica, _sans";
charFormat.fontSize = 12;
charFormat.kerning = Kerning.ON;
charFormat.fontStyle = FontPosture.NORMAL;
paraFormat.textAlign = TextAlign.LEFT;
paraFormat.direction = Direction.RTL;
config.textFlowInitialCharacterFormat = charFormat;
config.textFlowInitialParagraphFormat = paraFormat;
textFlow = new TextFlow(config);
var p:ParagraphElement = new ParagraphElement();
var span:SpanElement = new SpanElement();
span.text = _Value;
p.addChild(span);
textFlow.addChild(p);
textFlow.flowComposer.addController(new DisplayObjectContainerController(this,130,16));
textFlow.flowComposer.updateAllContainers();
textFlow.interactionManager = new EditManager();
/////////////////////////////////////////////////////////////////////////////////////////////////////////
It's OK, but when I change
paraFormat.textAlign = TextAlign.LEFT;
to
paraFormat.textAlign = TextAlign.RIGHT;
the textflow becomes not editable and doesn't show text.
