PDA

View Full Version : Make input text unselectable?


zebbah
11-25-2002, 11:10 PM
hello!

i have some animations that play over a input box after the "submit" button has been clicked. the problem is that the text is still selectable when the animation plays and that looks crap.

i've tried putting stuff over it and adjusting the alpha, but it's still selectable! :mad:

any idea how i can unselect the text?

thnx! [:)]

Jesse
11-26-2002, 01:02 AM
Just uncheck the box that makes the field selectable (in the property inspector when you create the field manually in Flash), or if you create the field dynamically use:
some_filed.selectable = false;

zebbah
11-26-2002, 09:15 AM
is it really possible to unselect the input text manually?
i tried using the properties inspector, but the selected button is checked by default and i can't uncheck it...

i'm using MX.

anyways, some_filed.selectable = false;, worked great! :D

thnx a lot, jesse! :)

Jesse
11-27-2002, 03:10 AM
Ahh with an input field it might not be, but as you say, it's possible using the actionscript