Jump to content

Flash GUI


Recommended Posts

Hello

I am working with flash in a project and am having a small problem having to do with making the flash transparent

#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>

$Logo = @ScriptDir & "\Logo.swf"
If Not FileExists($Logo) Then
    Exit
EndIf

GUICreate("Timer", 300, 300 , Default , Default , $WS_POPUP );, $WS_EX_LAYERED)
$Flash_Create = ObjCreate("ShockwaveFlash.ShockwaveFlash")
$Flash_Load_Obj = GUICtrlCreateObj($Flash_Create , 0 , 0 , 300 , 70)
$Flash_Create.Movie = $Logo
$Flash_Create.Loop = True

GUICtrlSetState($Flash_Load_Obj , $GUI_DISABLE)
GUISetState(@SW_SHOW)

While 1
    $Msg = GUIGetMsg()
    Switch $Msg
        Case $GUI_EVENT_CLOSE
            Exit
    EndSwitch
WEnd

I found this <param name = "wmode" value="transparent"/> but it wants me to add it into html and I really don't want to add html into the script because it just creates more files to look after is there a transparent command for flash like these ones

.Loop

.Movie

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...