jml
jml

Reputation: 1806

AS3: Textfield active state

I would like to create some text on the stage that does not respond to mouse activity. I've found that after adding a piece of text to a class I am using to draw, it covers up some of the mousing area of my class and disables the user from being able to roll over the other graphical elements...

Is there something like:

var t:TextField = new TextField();
t.text = "hello";
t.active = false;  //i know that this is wrong, but I haven't found an equivalent method

Thanks, jml

Upvotes: 0

Views: 308

Answers (1)

Samuel Neff
Samuel Neff

Reputation: 74909

Use this

t.selectable = false;

Upvotes: 2

Related Questions