| txt.onChanged = function() { while (this.maxscroll > 1) this.text = this.text.substring(0, this.text.length - 1); }; txt의 상태가 바뀔때마다 검사해서 스크롤이 넘어가면 스트링을 줄여주는 코드이다. 약간의 문제가 있는듯 한데 일단 그냥 쓰자 -_- |
Posted on 2006/05/23 17:59
Filed Under Development/Flash