Wx::ActiveX::Flash - interface to ShockwaveFlash.ShockwaveFlash ActiveX Control
use Wx::ActiveX::Flash qw( :everything ); .......... my $activex = Wx::ActiveX::Flash->new( $parent ); OR my $activex = Wx::ActiveX::Flash->newVersion( 1, $parent ); EVT_ACTIVEX_FLASH_ONREADYSTATECHANGE( $handler, $activex, \&on_event_onreadystatechange );
Interface to ShockwaveFlash.ShockwaveFlash ActiveX Control
my $activex = Wx::ActiveX::Flash->new( $parent, $windowid, $position, $size, $style, $name);
Returns a new instance of Wx::ActiveX::Flash. Only $parent is mandatory. $parent must be derived from Wx::Window (e.g. Wx::Frame, Wx::Panel etc). This constructor creates an instance using the latest version available of ShockwaveFlash.ShockwaveFlash.
my $activex = Wx::ActiveX::Flash->newVersion( $version $parent, $windowid, $position, $size, $style, $name);
Returns a new instance of Wx::ActiveX::Flash. $version and $parent are mandatory. $parent must be derived from Wx::Window (e.g. Wx::Frame, Wx::Panel etc). This constructor creates an instance using the specific type library specified in $version of ShockwaveFlash.ShockwaveFlash.
e.g. $version = 4;
will produce an instance based on the type library for
ShockwaveFlash.ShockwaveFlash.4
The module provides the following exportable event subs
EVT_ACTIVEX_FLASH_ONREADYSTATECHANGE( $evthandler, $activexcontrol, \&on_event_flash_sub ); EVT_ACTIVEX_FLASH_FSCOMMAND( $evthandler, $activexcontrol, \&on_event_flash_sub ); EVT_ACTIVEX_FLASH_FLASHCALL( $evthandler, $activexcontrol, \&on_event_flash_sub ); EVT_ACTIVEX_FLASH_ONPROGRESS( $evthandler, $activexcontrol, \&on_event_flash_sub );
OnReadyStateChange FSCommand FlashCall OnProgress
AddRef() Back() CallFunction(request) CurrentFrame() DisableLocalSecurity() EnforceLocalSecurity() FlashVersion() Forward() FrameLoaded(FrameNum) GetIDsOfNames(riid , rgszNames , cNames , lcid , rgdispid) GetTypeInfo(itinfo , lcid , pptinfo) GetTypeInfoCount(pctinfo) GetVariable(name) GotoFrame(FrameNum) Invoke(dispidMember , riid , lcid , wFlags , pdispparams , pvarResult , pexcepinfo , puArgErr) IsPlaying() LoadMovie(layer , url) Pan(x , y , mode) PercentLoaded() Play() QueryInterface(riid , ppvObj) Release() Rewind() SetReturnValue(returnValue) SetVariable(name , value) SetZoomRect(left , top , right , bottom) Stop() StopPlay() TCallFrame(target , FrameNum) TCallLabel(target , label) TCurrentFrame(target) TCurrentLabel(target) TGetProperty(target , property) TGetPropertyAsNumber(target , property) TGetPropertyNum(target , property) TGotoFrame(target , FrameNum) TGotoLabel(target , label) TPlay(target) TSetProperty(target , property , value) TSetPropertyNum(target , property , value) TStopPlay(target) Zoom(factor)
AlignMode AllowFullScreen AllowNetworking AllowScriptAccess BackgroundColor Base BGColor DeviceFont EmbedMovie FlashVars FrameNum InlineData Loop Menu Movie MovieData Playing Profile ProfileAddress ProfilePort Quality Quality2 ReadyState SAlign Scale ScaleMode SeamlessTabbing SWRemote TotalFrames WMode
Graciliano M. P. <gm@virtuasites.com.br>
Thanks to wxWindows peoples and Mattia Barbon for wxPerl! :P
Thanks to Justin Bradford <justin@maxwell.ucsf.edu> and Lindsay Mathieson <lmathieson@optusnet.com.au>, that wrote the original C++ classes for wxActiveX and wxIEHtmlWin.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Wx::ActiveX, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Wx::ActiveX
CPAN shell
perl -MCPAN -e shell install Wx::ActiveX
For more information on module installation, please visit the detailed CPAN module installation guide.