Revision: 28218
Updated Code
at July 4, 2010 01:34 by LeeProbert
Updated Code
<!-- if you use RichText like this it doesn't render the columns --> <s:RichText textFlow="{TextFlowUtil.importFromXML(textFlowXML)}" columnCount="3" left="50" right="50" top="100" bottom="100" /> <!-- but if you wrap it in a group and use the groups dimensions it works ... --> <s:Group id="textBlock" left="50" right="50" top="100" bottom="100" > <s:RichText textFlow="{TextFlowUtil.importFromXML(textFlowXML)}" columnCount="3" width="{textBlock.width}" height="{textBlock.height}" /> </s:Group>
Revision: 28217
Updated Code
at July 4, 2010 01:34 by LeeProbert
Updated Code
<!-- if you use RichText like this it doesn't render the columns --> <s:RichText textFlow="{TextFlowUtil.importFromXML(textFlowXML)}" columnCount="3" left="50" right="50" top="100" bottom="100" /> <!-- but if you wrap it in a group and use the groups dimensions it works ... --> <s:Group id="textBlock" left="50" right="50" top="100" bottom="100" > <s:RichText textFlow="{TextFlowUtil.importFromXML(textFlowXML)}" width="{textBlock.width}" height="{textBlock.height}" /> </s:Group>
Revision: 28216
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at July 4, 2010 01:33 by LeeProbert
Initial Code
<!-- if you use RichText like this it doesn't render the columns --> <s:RichText includeIn="case_studies" textFlow="{TextFlowUtil.importFromXML(textFlowXML)}" columnCount="3" left="50" right="50" top="100" bottom="100" /> <!-- but if you wrap it in a group and use the groups dimensions it works ... --> <s:Group id="textBlock" left="50" right="50" top="100" bottom="100" > <s:RichText includeIn="case_studies" textFlow="{TextFlowUtil.importFromXML(textFlowXML)}" width="{textBlock.width}" height="{textBlock.height}" /> </s:Group>
Initial URL
Initial Description
Seems to be a bug with RichText if you are using columnCount and using dynamic sizing of your component.
Initial Title
Spark RichText and columns bug
Initial Tags
Initial Language
MXML