Posted on 2006/05/23 17:59
Filed Under Development/Flash

txt.onChanged = function() {

  while (this.maxscroll > 1)

   this.text = this.text.substring(0, this.text.length - 1);

};





txt의 상태가 바뀔때마다 검사해서 스크롤이 넘어가면 스트링을 줄여주는 코드이다.



약간의 문제가 있는듯 한데 일단 그냥 쓰자 -_-
2006/05/23 17:59 2006/05/23 17:59

트랙백 주소 : http://www.takeone.pe.kr/trackback/54

Counter

· Total
: 371800
· Today
: 43
· Yesterday
: 50