That's one of those slap on the forehead ones that getcha everytime! :)
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of Bart Wttewaall
> Sent: Monday, May 29, 2006 2:47 PM
> To: Flashcoders mailing list
> Subject:
It's because the button you click will have the focus. So you should
return the focus on the textfield before you can get the Selection of
the text.
[as]
underline_btn.addEventListener("click", mx.utils.Delegate.create(this,
underline_check));
function underline_check(evt:Object):Void {
2 matches
Mail list logo