Salman Virk
Salman Virk

Reputation: 12317

In flex, mouseOver in TextInput Programatically using AS3?

In flex, I am able to add mouseOver ( in mx:TextInput ) event as follow: mouseOver="canvas1_mouseDownHandler(event)"

It is not the property of TextInput so how can I do it programatically in ActionScript?

Upvotes: 1

Views: 386

Answers (1)

Wade Mueller
Wade Mueller

Reputation: 6059

You add a listener to your text input:

myTextInput.addEventListener(MouseEvent.MOUSE_OVER, mouseOverHandler);

Hope that helps.

Upvotes: 3

Related Questions