Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Flash click problem using webkit in Carbon/Cocoa apps



Problem:

In a mixed Carbon/Cocoa Mac OS X application, mouse click events are not properly received by Flash. Mouse over / Roll over / Drag works fine. The first click in the Flash window works fine. After the first click inside Flash, a single mouse click is not picked up by Flash. A double-click will register in Flash as a single click.

To Reproduce, use an Apple sample project included with the Developer Tools, /Developer/Examples/WebKit/SimpleCarbonWeb

Build and run the project. Browse to a site with Flash (youtube.com for example). Click play. The video will play. Move your mouse over the buttons. The buttons turn red indicating roll over. Click again on Play to pause. Nothing happens. Double Click on Play. The movie pauses. Any single click nothing happens. A double click is required to press any button.

It appears as if Carbon/Cocoa/WebKit is doing some sort of capture on the mouse after the first click. A double click releases and sends the data to Flash. Any ideas or workarounds? Not sure if this is a problem in Carbon/Cocoa/WebKit or perhaps in Flash.

Everything works as expected in a pure Cocoa application - Safari - WebKitNightly - MiniBrowser (Apple sample app).

I am running Mac OS X 10.4.9 (latest) and the latest Flash Player as well (Shockwave Flash 9.0 r45).

Any help is appreciated. I also posted this in the Carbon list.

Josh Melick
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webkitsdk-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webkitsdk-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.