2 Replies Latest reply on Feb 5, 2010 3:11 AM by IlyaG

    Can't get my text scrolling

    IlyaG Level 1

      I am trying to create a text box, but it doesn't place a scroll bar when then text going out of the seen screen.

       

      Any ideas about fixing it?

       

      This is my code:

      you can't see the line 44 when running it.

       

      <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
          xmlns:flexiframe="http://code.google.com/p/flex-iframe/" width="100%" height="100%">
           
           <mx:Panel layout="absolute" horizontalAlign="left" top="219" right="10" left="10" height="100%">
                <mx:Text x="0" width="100%" textAlign="left" fontWeight="bold" fontSize="17" height="100%" y="0">
                     <mx:text><![CDATA[
                     
                     Hello,
                     this is a test.
                     
                     line 21
                     
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
                     line 38
                     
                     
                     
                     
                     
                     line 44
      
      
                               ]]>
                     </mx:text>
                </mx:Text>
           </mx:Panel>
      </mx:Application>