Eric Schlegel wrote:
> I'd have to actually debug this to be sure, but I bet that the web
> view is not going to work with CreateOffscreenImage because it's
> really an NSView embedded inside an HIView, and it uses AppKit's
> drawing code rather than Carbon's. If that's the case, there's
> probably no way to get this to work the way you want. You might be
> able to capture the window bits by just going through QuickDraw to
> get the window's port's buffer, and then creating a CGImage from
> those bits.
Thanks for your help, and to others as well. All clues indicate that
this is reason. At least it is comforting to know that I'm not going
crazy.
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).
I'm currently using some Cocoa code for networking, so Cocoa is
available for use. At one point I tried using more of the Cocoa side
of WebKit, but I switched to the Carbon side for a particular reason
which I can't remember.
Would you suggest that I give Cocoa another try, or is there possibly
some similar mysterious barrier that I might hit? Or would (the now
deprecated) QuickDraw be easier or more likely to work?
For real-time full-screen Flash movies (say, 20 fps), would David
Duncan's suggesting of using the PDF layer be feasible? (I suppose
I'll run some tests in any case.)
Much appreciated,
Jeff
____________________________________________________________________________________
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121
_______________________________________________
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
This email sent to email@hidden