#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
#AutoIt3Wrapper_Version=Beta
#AutoIt3Wrapper_UseUpx=n
#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****

#include <GUIConstantsEx.au3>

GUICreate("Test", 512, 288)
$Flash = ObjCreate("ShockwaveFlash.ShockwaveFlash.1")    ;<=======
$FlashObj = GUICtrlCreateObj($Flash, 0, 0, 512, 288)
$Flash.Movie = @ScriptDir & "\CLP.swf"
$Flash.loop = true
$Flash.WMode = 100


GUISetState(@SW_SHOW)

While 1
        $nMsg = GUIGetMsg()
    Switch $nMsg
        Case $GUI_EVENT_CLOSE
            Exit
    EndSwitch
WEnd