Skip to main content
Participant
June 25, 2011
Question

Paragraph rule is not in correct position with ruleAboveOffset

  • June 25, 2011
  • 1 reply
  • 488 views

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 has been closed for replies.

1 reply

Adobe Employee
June 26, 2011

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

Can you show me your code scrap?

Abram12Author
Participant
June 27, 2011

Thanks for loking into this.

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

Adobe Employee
June 28, 2011

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.