Hi all,
How to load a .swf(flash) file in Pygame?
THANK YOU.
Hi all,
How to load a .swf(flash) file in Pygame?
THANK YOU.
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.