Skip to main content
February 16, 2011
Answered

tabStops format

  • February 16, 2011
  • 1 reply
  • 681 views

Hi,

Let's say I want to create an end align tab at position 200 as a tab stop, according to AS3 Reference http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flashx/textLayout/elements/FlowElement.html#tabStops, I would have an attribute of tabStops="E200". However, when I tried setting up this situation in the Text Layout Editor Demo at http://labs.adobe.com/technologies/textlayout/demos/ and clicked markup, I get attribute of tabStops="alignment:end, position:200" instead.

I tried to import a <TextFlow> with tabStops="alignment:end, position:200" on <p>, and, although I don't get an error, the tab doesn't seem to get created. If I try to set this value to a tabStop on a ParagraphElement instance, I get an out of range error. The "E200" format works in both cases.

Is the markup being generated by the demo out of date or not correct? Or is the tabStops="alignment:end, position:200" format used in certain situations?

Thank you for the info.

Will

This topic has been closed for replies.
Correct answer

That demo is very out of date. You can find an up-to-date version at our SourceForge site:

http://sourceforge.net/projects/tlf.adobe/files/current/Flow.swf/download

1 reply

Correct answer
February 16, 2011

That demo is very out of date. You can find an up-to-date version at our SourceForge site:

http://sourceforge.net/projects/tlf.adobe/files/current/Flow.swf/download