check textfield for scroll ?

  • Started
  • Last post
  • 0 Responses
  • force

    Is there any way to check if a dynamic textfield needs to be scrolled in flash ?
    Im loading text from textfiles, and some texts are longer than others.
    I would like to be able to do something like this:

    if(text is longer, scroller needed){
    scroller._visible = true;
    }
    else{
    scroller._visible = false;};

    any suggestions ?

    cheers!