I'm trying to integrate Flash (swf) content into a rather large
(full-screen) Carbon application. The Flash content needs to be drawn
as an intermediate layer; some non-Flash buttons must appear on top,
for example. The plan is to draw Flash into a hidden window, then
blit the contents of that window into an offscreen buffer (at which
point I'll have full control of rendering it).
Another design that you might consider would be to use three windows
bound together in a window group (or, if your window is fullscreen
and never moves, you might not even need the window group). You could
have backing window that displays content behind the flash animation,
an overlay window for displaying the WebView that is transparent
elsewhere, and another overlay window above the flash window for
displaying buttons above the flash window that is transparent
elsewhere. This would allow the window server (and the GPU) to handle
all of your compositing needs, and you wouldn't have to play any
games with playing the flash animation into a separate window and
capturing the results.
This would only work if your app is flexible enough to allow moving
the buttons that should be visible above the flash animation into a
separate window.
-eric
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden