pythonCOM with Flash

Dave Brueck dave at
Sat Jun 14 22:58:36 CEST 2003

On Sat, 14 Jun 2003, John J. Lee wrote:

> Dave Brueck <dave at> writes:
> > On Fri, 13 Jun 2003,  wrote:
> >
> > > So, if I understand correctly I cannot use Flash as a GUI without another
> > > GUI to contain the flash object.
> > >
> > > am I right?
> >
> > That is probably the case, but that doesn't mean that the other GUI needs
> > to be a full GUI framework (like wxPython, Tkinter, Qt) - you could use
> [...]
> Would that even work?  I know Qt has suport for ActiveX controls (or
> whatever you want to call them), but do wx & Tk?

Can't speak for Tk (althought I'd be willing to bet that it does have
support for ActiveX controls somehow - maybe Pmw?) but wx certainly does.
In fact, the wxPython demo includes two examples. But still, for this case
the most lightweight approach would be ctypes.

> > native Win32 calls to create the toplevel window that contains the Flash
> > object and that's most of what you need.
> [...]
> Or use IE as the control container.  I think Alex Martelli has posted
> here about this (probably at length ;-) in the past.

I don't think this would do what the OP wants, though. The point (as I
understood it) was to be able to use Python for the underlying app logic
and Flash as the UI. If you put the Flash control inside IE you're really
not that much closer to the goal and you've created more work for yourself
since you have to fiddle with both Python <--> IE as well as IE <--> Flash


More information about the Python-list mailing list