pythonCOM with Flash
bradley at greystate.com
Fri Jun 13 10:01:39 CEST 2003
I found this post (below) by you. Is it still the case that you can only get
OCX events from within pythonwin? Can this not be done from a console app?
If not, how come?
You can only get events from an OCX by using code from within Pythonwin.
You can subclass from the generated code.
You should check out the Pythonwin demos. Depending on the version you
have, these will be either in "pywin\Demos" or "pywin\Demos\ocx". You
should look for "ocxserialtest.py", "ocxtest.py", "webbrowser.py" and a
later one "msoffice.py"
"Mark Hammond" <mhammond at skippinet.com.au> wrote in message
news:GV%Fa.2949$GU5.41737 at news-server.bigpond.net.au...
> Bradley Schatz wrote:
> > Hi,
> > I am attempting to use Flash as a UI for a python program. I have
> > successfully prototyped this using VB/Flash, and am not trying to
> > over to work with python.
> > My problem is this, when I run the following code (attached below)
> > happens.
> > I assume that the Flash activex component needs to be placed in some
> > container to be seen, as I am not seeing any window come up when I run
> > Could anyone suggest how to embed this into a container?
> Look at the Pythonwin OCS demos, under the pywin\demos directory.
> wxPython also has some ActiveX container support, but I have never used
More information about the Python-list