1 Reply Latest reply on Apr 27, 2008 11:43 PM by anirudhs

    MXML+HTML+Remote JavaScript

    flashirfu
      Hello All,
      I have to build one AIR application that has mxml interface, uses html pages and also have to use remote JavaScripts i.e. JavaScript:url
      When I apply security sandbox, other eval function works (which is also restricted by sandbox same as javaScript url) but JavaScript URL is not working :(
      Scenario:
      I have main.mxml file which is main content, inside mxml I am using an mx:html, which is referring to index.html.
      index.html has reference to( in iframe) sports.html which contains link to remote javaScript.

      Now the problem is sports.html gets loaded in index.html (which is inside the main.mxml), but that remote javaScript doesn;t work.

      I am really stuck up here.
      Is anyone has solution?

      Thanks in advance