Jump to content
Sign in to follow this  
Olish

Playing a flash object in a GUI...

Recommended Posts

Olish

Hi everybody !

I'm searching for playing a SWF file in a flash object in an AutoIt GUI. Here is the code...

It doesn't run ! Arrggg... :P

#include <GUIConstants.au3>
; == GUI generated with Koda ==
$Form1 = GUICreate("AForm1", 622, 441, 192, 125)
$AObj1 = ObjCreate("ShockwaveFlash.ShockwaveFlash.1")
$AObj1_ctrl = GUICtrlCreateObj($AObj1, 0, 0, 192, 192)
GUISetState(@SW_SHOW)

$AObj1.Src = "C:\mydir\source.swf"

While 1
    $msg = GuiGetMsg()
    Select
    Case $msg = $GUI_EVENT_CLOSE
        ExitLoop
    Case Else
    ;;;;;;;
    EndSelect
WEnd
Exit

Thank you for helping me !

Edited by Olish

Olivier, from France.Free Wake On LAN script

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  

×