开发者

Howto Embed , load .swf into Pygame?

How can I load a .swf(开发者_运维百科flash) file in Pygame?


As far as I know, Pygame does not have a browser widget that supports playing flash. To get this working, you'll have to embed a window from a web browser that does (i.e. FireFox, IE, Safari, etc).

Alternatively, you can use Python's C/C++ interface integrate the GNU Gnash project (an open source flash player) into your program. Unfortunately Gnash only supports up to flash 9, and it may be difficult to make your own Gnash UI widget.


Take a look at Gnash, you might find this question relevant.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜