In my application, I have a wrapper around mx.controls.HTML to allow for tabbed browsing. When I open a standard HTML link (target="_self"), the behavior is as expected: the new HTML content loads in the current tab. I had to add a loop to achieve this functionality for target="_blank" or target="new" (cycle through all links, add click handlers, redirect clicks to my tabbing engine, create the tab and load the content). However, I can't figure out how to do this for Flash content or Javascript.
Flash seems to use navigateToURL/getURL, but these are global functions and I don't know if I can override them. (I also don't know if I *should* override them.) Javascript opens an entirely different can of worms, since Javascript could make any number of calls (Alert.show, Window.open, etc). Is there a simple (or at least concise) way of handling the variety of calls I could be getting from web content without starting from WebKit? (Sorry if this gets double-posted, but my last message hasn't showed up yet today.)

