1 Reply Latest reply on Oct 20, 2009 8:24 AM by BridalLive

    Setting focus to a control in an HTMLLoader

    nuggpuffer
      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("my textarea").focus();

      Any ideas would be appreciated!
      Jamie