0 Replies Latest reply on Nov 20, 2008 6:05 AM by Ken999999999

    AIR as  Site Specific Browser (SSB) - Remote Domain Issue

    Ken999999999
      I am trying to use AIR as a Site Specific Browsers (SSB) solution. I am trying to access content on a remote domain (remote domain is under my control) via an iframe and pass back a hidden form field to trigger a javascript self.focus within the AIR application. It looks like this:

      Child.cfm (the page on the remote domain):
      <form name="RemoteForm">
      <input type="hidden" name="TriggerFocus" value="true">
      </form>

      airtest.html
      <iframe id="Child"
      src="Child.cfm"
      allowCrossDomainXHR="true"
      sandboxRoot=" http://example.com/"
      documentRoot="app:/"
      </iframe>

      I need some javascript to determine if RemoteForm.TriggerFocus is true, then:
      <body onload="self.focus();">
      </body>

      I've been researching the application sandbox and bridges but after three days, I'm still not getting it. I think this should be simple but I'm more a ColdFusion guy than a javascript/AIR guy. Can anyone help?

      Thanks.