rodik Posted February 4, 2009 Share Posted February 4, 2009 I created translucent movable flash drawing,but can not create the transparent window that only my flash was in this window is seen,as it is woke;waked widпet from windows vista.Here is my code:#include <GUIConstantsEX.au3>#include <WindowsConstants.au3>$oSWF = ObjCreate("ShockwaveFlash.ShockwaveFlash") $hGui = GuiCreate("SWF Viewer - 1.0", 800, 600,-1, -1, BitOR($WS_POPUP, $WS_EX_LAYERED))GUISetBkColor (0x000000)$swfActiveX = GUICtrlCreateObj( $oSWF, 0, 0 , 800, 600)GUISetState(@SW_SHOW)With $oSWF .Movie = @ScriptDir & '\Flash.swf' .ScaleMode = 2;0 showall, 1 noborder, 2 exactFit, 3 noscale .bgcolor = "#000000" .Loop = True .WMode = "transparent" .allowScriptAccess = "Always"EndWithWhile 1 $msg = GUIGetMsg() Select Case $msg = $GUI_EVENT_CLOSE Exit EndSelect 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