4 Replies Latest reply on Feb 4, 2009 9:17 PM by kalimagic

    air with flex3 embed javascript

      I want to embed google gadget in my HTML component,but fail.
      The program is built in flex 3 with air

      I use the "html.domWindow.document.write" function to write the following strings into my HTML component.

      <script src=" http://www.gmodules.com/ig/ifr?url=http://chunju.googlepages.com/cdict.xml&up_lang=ch&up_t arget=_top&synd=open&w=320&h=60&title=%E8%8B%B1%E6%BC%A2%E5%AD%97%E5%85%B8+En-Ch+Dictionar y&lang=zh-TW&country=ALL&border=http%3A%2F%2Fwww.gmodules.com%2Fig%2Fimages%2F&output=js"> </script>

      It shows blank.
      But these codes work if i put them in a .html file and open it up with IE or chrome.

      What's wrong?