I have an AIR application with a login form. What I want to do is set the cursor in the first textinput box. I only manage to set the focus on the box, but not the cursor.
Does anyone have an idea for how I can do this?
actionscript-3airapache-flexcursor
I have an AIR application with a login form. What I want to do is set the cursor in the first textinput box. I only manage to set the focus on the box, but not the cursor.
Does anyone have an idea for how I can do this?
Best Answer
You need to wait for the flex container to be registered with the display list so you access the stage.
Put a call to init from you creationComplete handler: