views:

563

answers:

3

I'm looking for different solutions to playing back SWF files on Windows, OSX and Linux using Python. Ideally I'd like to embed the player inside a wxPython frame/window.

One possibility I'm investigating is the Mozilla XPCOM framework since its used by FireFox to load the Flash plugin within the browser.

+2  A: 

Though I don't know how to embed a browser within a wxPython window, the following code might serve in a pinch (and will work cross-platform, assuming you're working in Python 2.5 or above):

import webbrowser
webbrowser.open(your_swf_url)

It might be best to delegate this task to the browser anyway.

importantshock
Thanks for the answer. Do you know of any examples online that show this implemented?
Soviut
+2  A: 

Have you considered Adobe AIR?

Bruce Eckel said: Try combining the power of Python with the polish of Adobe Flash to create a desktop application.

J.F. Sebastian
Great link, thanks.
Soviut
A: 

Hello everybody, is the a way to do it such this ( http://www.python-forum.org/pythonforum/viewtopic.php?f=2&t=10416)? if yes pleas let me know. I am looking fore a long time. Thanks allot Jon

Please ask a new question, don't post it as an answer! this isn't a forum.
Soviut