Jump to content
Sign in to follow this  

What do translucent flash in transparent window

Recommended Posts


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)


With $oSWF

.Movie = @ScriptDir & '\Flash.swf'

.ScaleMode = 2;0 showall, 1 noborder, 2 exactFit, 3 noscale

.bgcolor = "#000000"

.Loop = True

.WMode = "transparent"

.allowScriptAccess = "Always"


While 1

$msg = GUIGetMsg()


Case $msg = $GUI_EVENT_CLOSE



Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.