3 Replies Latest reply on Nov 17, 2015 6:20 AM by nezarov

    text box not scrolling.

    WilliamRhoades1

      I'm currently having issues with the text boxes

       

      I have two text boxes on stage.

      one is an input type.

      the other is a dynamic type, Multi line , scrolling enabled, and a scroll bar attached.

      Both are set to use device fonts.

       

      when I run the code the text doesn't scroll and the newer lines aren't visible after it reaches outside the view-able space. Unless the text is filled both horizontally and vertically.

       

      btn.addEventListener(MouseEvent.CLICK, snd);
      function snd (e:MouseEvent):void{
      word.text += ((input.text) + "\n");
      }

       

      here is a download of the FLA so you can see what I did exactly.

      https://www.dropbox.com/s/tzha43452q0g1x3/fixit.fla?dl=0

       

      The problem is that if I hit clear, then populate the box it won't scroll.