Ticket #9344 (confirmed enhancement)
Cross-platform Flash control
| Reported by: | pmineault | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | GUI-all | Version: | |
| Keywords: | Cc: | pmineault, kollivier, yaou.li@… | |
| Blocked By: | Patch: | no | |
| Blocking: |
Description
The ActiveX Flash control is quite cool, however it
would be nice if there was a cross-platform Flash
control available for wxPython. I understand that this
is quite the request, however there have been some
research done on the subject that shows this is not
entirely impossible. The major challenge is to find a
replacement for an ActiveX control on Mac and Linux.
The Flash plugin on Mac and Linux is based on the
Netscape API and can be loaded using a XUL module, as
far as I know. There is some info on how this can be
done here:
http://www.darronschall.com/weblog/archives/000108.cfm
Now I don't think it's reasonable to actually embed XUL
in wxPython, however perhaps one could extract the
plugin module of the wxMozilla project. This would not
only Flash to be embedded cross-platform, but all of
the other various plugins that are available on a bunch
of platforms, for example Acrobat and Quicktime. As far
as scripting the Flash control, the current ActiveX
control does not take advantage of the most recent
possibilities in Flash control scripting, called
ExternelInterface. Basically it's a means to
transparently send/receive Flash/LanguageX variables
while maintaining typing. This is done by wrapping
requests in an XML string containing type information.
More info is available here:
http://osflash.org/pipermail/osflash_osflash.org/2005-August/002274.html
I definitely think this would make wxPython the
platform of choice for Flash developers looking to make
offline applications.
