Re: Flash in WebView not responding to clicks?
Re: Flash in WebView not responding to clicks?
- Subject: Re: Flash in WebView not responding to clicks?
- From: m <email@hidden>
- Date: Fri, 27 Apr 2007 19:24:59 -0700
On Apr 27, 2007, at 2:38 PM, Andy Lee wrote:
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
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden