Where is wx.lib.flashwin.FlashWindow ?

Hello!

I am totally newbie in wxPython.
Basically, I want to embed swf file into my program and have some
control over it. But I don't see this class
wx.lib.flashwin.FlashWindow in the library. Though this package is
referred in some blog posts [1].
So where is it?
Thanks in advance.
[1] http://blog.beiontheweb.com/index.php?/archives/3-wxPython-with-Flash-Actionscript-3.html

It is there, see wx/lib/flashwin.py in your wxPython installation. It does have a dependency on the comtypes module, perhaps that is what you are missing? What errors are you getting? Oh, and keep in mind that this only works on Windows.

···

On 4/12/11 4:18 AM, Maxim wrote:

Hello!

I am totally newbie in wxPython.
Basically, I want to embed swf file into my program and have some
control over it. But I don't see this class
wx.lib.flashwin.FlashWindow in the library. Though this package is
referred in some blog posts [1].
So where is it?

--
Robin Dunn
Software Craftsman

Hi Robin!

Thanks for your reply!

Oh, and keep in mind that this only
works on Windows.

This is probably the root of the problem. I am on Ubuntu... So there
is no chance I can use flash objects on Linux, is it true?

···

comtypes · PyPI

--
Robin Dunn
Software Craftsman
http://wxPython.org

--
with regards,
Maxim

Correct, at least not with wx.lib.flashwin. There may be some other way to do it on unix-like systems that I've not heard of, so I wouldn't say that there is absolutely no chance yet until you do more searching.

···

On 4/12/11 11:02 AM, Maxim Lacrima wrote:

Hi Robin!

Thanks for your reply!

  Oh, and keep in mind that this only
works on Windows.

This is probably the root of the problem. I am on Ubuntu... So there
is no chance I can use flash objects on Linux, is it true?

--
Robin Dunn
Software Craftsman

Ok. Thanks for your help!

···

On Apr 13, 4:16 am, Robin Dunn <ro...@alldunn.com> wrote:

On 4/12/11 11:02 AM, Maxim Lacrima wrote:

> Hi Robin!

> Thanks for your reply!

>> Oh, and keep in mind that this only
>> works on Windows.
> This is probably the root of the problem. I am on Ubuntu... So there
> is no chance I can use flash objects on Linux, is it true?

Correct, at least not with wx.lib.flashwin. There may be some other way
to do it on unix-like systems that I've not heard of, so I wouldn't say
that there is absolutely no chance yet until you do more searching.

--
Robin Dunn
Software Craftsmanhttp://wxPython.org

You can try to embed webkit and open the swf in it.
http://wiki.wxpython.org/wxGTKWebKit

Ricardo

···

On Tue, Apr 12, 2011 at 7:02 PM, Maxim Lacrima <lacrima.maxim@gmail.com> wrote:

Hi Robin!

Thanks for your reply!

Oh, and keep in mind that this only
works on Windows.

This is probably the root of the problem. I am on Ubuntu... So there
is no chance I can use flash objects on Linux, is it true?