tags:

views:

141

answers:

2

Hi all,

How to load a .swf(flash) file in Pygame?

THANK YOU.

A: 

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.

Dana the Sane
A: 

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

mizipzor