I am very new to FLEX and have been going through the help
documents but cannot seem to find help on this. I have a text field
on the canvas and I would like it to be in focus ( cursor already
set within the text field on runtime) So I don't have to mouse
click first within the field to type.
That's actually a larger can of worms than you might think.
Getting Flex to set the focus is actually really easy. Just add a
creationComplete listener to your application that does something
The problem, however, is that the SWF object in the HTML
won't actually have focus, so even though your Flex object will
look like focus is set properly, you'll still have to click the SWF
use to solve the problem: