Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Error with Flash and ObjEvent with version 3.3.8.1

$
0
0
Hi

I'm having problems with AutoITversion 3.3.8.1. I can't receive FSCommands from my Adobe Flash .swf file.
But everything works fine and without any problem with version 3.3.6.1

With oldest version I receive FSCommands from .swf

I tried another version of Adobe Flash Player (older version) but the problem still exists.

Only when I uninstall AutoIT version 3.3.8.1 and install 3.3.6.1 ,I can solve the problem.

Please I need your help.

[ autoit ]         
#include 'GUIConstantsEx.au3' Global $hGUI = GUICreate("Demo Program",500,500) Global $oSW = ObjCreate('ShockwaveFlash.ShockwaveFlash') Global $Shockwave = GUICtrlCreateObj($oSW, 0, 0, 500, 500) $swfObjEvents = ObjEvent($oSW, "FSCommand") GUISetState(@SW_SHOWNOACTIVATE,$hGUI) With $oSW $oSW.LoadMovie(0, @ScriptDir & "\FlashTest.swf") EndWith While 1 $msg = GUIGetMsg() If $msg = $GUI_EVENT_CLOSE Then ExitLoop WEnd GUIDelete() Func FSCommand($type, $command, $arguments) MsgBox(0,"","$command ==> " & $command & " - $Arguments ==> " & $arguments,3) EndFunc

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>