0 Replies Latest reply on Nov 1, 2011 6:40 PM by KGBMICHEL

    Help with textFlow.

    KGBMICHEL

      Hey!

      It is possible that the "textFlow" may come from a database? (mysql).

      look: incomplete, just to have an notion *

      <s:RichEditableText>

      textFlow="{TextConverter.importToFlow (****comes something from my database****, TextConverter.TEXT_LAYOUT_FORMAT)}"

      </ s: RichEditableText>

       

       

      ****the contents of the database****:

      <? xml version = "1.0" encoding = "utf-8"?>

      <TextFlow FontFamily = "Arial" fontSize = "16" paddingBottom = "2" paddingLeft = "2" paddingRight = "2" paddingTop = "2" whiteSpaceCollapse = "preserve" xmlns = "http://ns.adobe.com/ textLayout/2008 "> <span color="#ff0000" fontSize="49"> Title </ span> </ p> <span> </ span> </ p> <span > paragraph text </ span> </ p> </ TextFlow>

       

       

      or this one contents

       

       

      <s:p> <s:a href="http://www.google.com/"> <s:span fontWeight="bold"> second title looks just here </ s: span> </ s: a> </ s: p>