PDA

View Full Version : Setting focus to a control in an HTMLLoader


jmorris
02-14-2009, 06:03 AM
Hi!

I have embedded an HTML control in my Adobe AIR app, and I need to be able to set the focus to a specific control in the embedded HTML document.

This doesn't work unfortunately:
html.htmlLoader.window.document.getElementById("mytextarea").focus();

Any ideas would be appreciated!
Jamie