Skip to main content
Feb 16, 2011 1:44 AM UTC
Answered

tabStops format

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 is closed to new replies. Start a new post to keep the conversation going.
Correct answer
Feb 16, 2011 6:34 PM UTC

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
Feb 16, 2011 6:34 PM UTC

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

Translate