2 Replies Latest reply on Oct 15, 2009 12:11 AM by madsmao

    Handling JavaScript events from AS3


      I am currently working on an AIR-app based on Flex. In this app I would like to display a third-party webpage. This page has a few links that - when the page is displayed in the browser - will cause new windows to open. I would like the same type of behaviour from my app, but I want new windows to open with my custom chrome and not with system chrome.

      I therefore wonder if there is any way I can listen for JavaScript events dispatched inside a Flex HTML-component? I am hoping to then catch the event and wrap the intended location in a call to my nifty-looking window containing a HTML-component inside.


      I would greatly appreciate any kind of input.


      P.S.: I should mention that I don't have any control over the webpage being displayed inside my HTML-component.