My company's app has a WebView that displays a Flash ad. When the
user clicks on the ad, it's supposed to open a browser window. But
it does nothing; the click seems to be ignored. HTML ads in the
same WebView behave as expected, and the same Flash ads work fine
in a browser.
Is there some WebView setting or bug that might explain this?
Speculating here:
Isn't the problem really that when the user clicks on the ad, Flash
is telling the current browser (i.e. your app) to open a new window?
If so, what you need to do is intercept the load request (in a
WebFrameLoadDelegate method probably) and then call NSWorkspace's
openURL: method with the appropriate URL.
_murat
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com