Skip to main content
Participant
Jun 25, 2011 9:29 PM UTC
Question

Paragraph rule is not in correct position with ruleAboveOffset

I am trying to apply paragraph style in TextFlow, the new style has ruleAbove="true" and negative value for ruleAboveOffset. When am applying this style, the

rule is not in the correct position.There is a differenec in InDesign preview and in Flex view. In InDesign the rule is middle of the text, but in Flex view it is

coming below.

Thanks in adavance for any ideas.

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

Adobe Employee
Jun 26, 2011 11:56 AM UTC

I cannot find any code about "ruleAbove" or "ruleAboveOffset" in TLF.

Can you show me your code scrap?

Translate
Abram12Author
Participant
Jun 27, 2011 8:13 PM UTC

Thanks for loking into this.

I am using "IFormatResolver "   and StyleSheet object to apply the paragrapgh style like, p.setStyle("style", styleName);

Translate
Adobe Employee
Jun 28, 2011 2:15 AM UTC

http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/StyleSheet.html

flash.text.StyleSheet is for classic text (which is flash.text.TextField) only, not for TLF.

Translate