playlet Posted December 26, 2011 Share Posted December 26, 2011 (edited) --- Edited August 18, 2016 by playlet Link to comment Share on other sites More sharing options...
taietel Posted December 26, 2011 Share Posted December 26, 2011 Give it a try: #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <WinAPI.au3> $obj = ObjCreate("ShockwaveFlash.ShockwaveFlash") $GUI = GUICreate("Test", 160, 160) GUICtrlCreatePic("bg.bmp", 0, 0, 160, 160) GUICtrlSetState(-1,128) $GUI2 = GUICreate("", 160, 160, 0, 0, $WS_POPUP, $WS_EX_MDICHILD+$WS_EX_LAYERED, $GUI) GUISetBkColor(0x222211) $ActiveX = GUICtrlCreateObj( $obj, 40, 40, 80, 80) _WinAPI_SetLayeredWindowAttributes($GUI2,0x222211,100,0x01) With $obj .bgcolor = "#222211" .Movie = @ScriptDir & "file.swf" .Quality = 1 .ScaleMode = 2 .Loop = True .wmode = "transparent" EndWith GUISetState(@SW_SHOW, $GUI) GUISetState (@SW_SHOW, $GUI2) While 1 If GUIGetMsg() = -3 Then $obj = 0 GUIDelete() Exit EndIf WEnd Things you should know first...In the beginning there was only ONE! And zero... Progs: Create PDF(TXT2PDF,IMG2PDF) 3D Bar Graph DeskGadget Menu INI Photo Mosaic 3D Text Link to comment Share on other sites More sharing options...
playlet Posted December 26, 2011 Author Share Posted December 26, 2011 (edited) --- Edited August 18, 2016 by playlet Link to comment Share on other sites More sharing options...
taietel Posted December 26, 2011 Share Posted December 26, 2011 I'm sure there are other solutions, but that one passed my head. Glad it worked. Regards, taietel Things you should know first...In the beginning there was only ONE! And zero... Progs: Create PDF(TXT2PDF,IMG2PDF) 3D Bar Graph DeskGadget Menu INI Photo Mosaic 3D Text Link to comment Share on other sites More sharing options...
playlet Posted December 26, 2011 Author Share Posted December 26, 2011 (edited) --- Edited August 18, 2016 by playlet Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now