[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Flash content
Hey Joan,
If you've got some swf player that can play in your opengl context
with version 7 swf files, you might want to try and work with that.
Flash can target older .swf versions
As far as getting stuff in an OpenGL context, I think your best bet is
going to be something based on the GameSWF stuff:
http://www.tulrich.com/geekstuff/gameswf.html
There are a number of projects branched off that code. If Gnash has
some OpenGL rendering-ness, it got it from that project, I'm sure.
Somebody may have python bindings to it somewhere...
On 2/8/07, Bob Ippolito <bob@xxxxxxxxxx> wrote:
There's only two ways to embed Flash: the Netscape plug-in API, and
ActiveX on Windows. It's going to be extremely difficult to do either
way, especially in an OpenGL context. You might as well give up.
I don't think the poster necessarily meant embedding the "official"
player(s) from Macromedia/Adobe - I think the goal is just playing
flash content. However you are right that embedding a player to
display in an OpenGL context is a dead end... while flash player 8 can
use some OpenGL acceleration on Mac OS X, the Macromedia/Adobe players
simply don't support that route - you'd have to have them software
render to a buffer then upload that to OpenGL, which would be dog slow
The only thing I know you can do with the official player is embed the
ActiveX version in a wxPython context