2 Replies Latest reply on Feb 7, 2012 6:09 AM by diamond_1982

    Problem with images in richeditabletext

    diamond_1982

      I've got the following code for scrollbar + ret:

       

      <s:Scroller id="scroller" left="0" top="0" width="100%" height="100%">

           <s:RichEditableText id="rte" left="0" top="0" clipAndEnableScrolling="true" editable="false" textFlow="{TextConverter.importToFlow(new XML(_course.ShortDescription, TextConverter.TEXT_LAYOUT_FORMAT)}"/>  

      </s:Scroller>

       

      My TextFlow contains: 

      <TextFlow whiteSpaceCollapse="preserve" version="2.0.0" xmlns="http://ns.adobe.com/textLayout/2008">

           <p>

                <span>abasdfasdfasdfa Dit is de omschrijving die langer gemaakt is om te testen wat er gebeurt in het overzicht gen op de homepagina.</span>

           </p>

           <p>

                <span>

                </span>

           </p>

           <list listStyleType="disc">

                <li>

                     <p>

                          <span>test</span>

                      </p>

                </li>

                <li>

                     <p>

                          <span>test2</span>

                     </p>

                </li>

           </list>

           <p>

                <span></span>

           </p>

           <list listStyleType="disc">

                <li>

                     <p>

                          <span>test3</span>

                     </p>

               </li>

                <li>

                     <p>

                          <span>test4</span>

                     </p>

               </li>

           </list>

           <p>

                <span></span>

           </p>

           <p>

                <span></span>

           </p>

           <p>

                <img source="http://stagingdigilearner.sagamgraphic.be/assetDirectory/default/Afbeelding(17).jpg?guid=0 .05344812013208866"/>

                <span></span>

           </p>

           <p>

                <span></span>

            </p>

           <p>

                <span>t</span>

           </p>

      </TextFlow>

       

      It seems that my ret is crashing whenever the image is widerthan my ret. I have this only with one ret. On another location the exact same code seems to work well. Has anyone experience with such a problem?