Jump to content
Sign in to follow this  

Playing a flash object in a GUI...

Recommended Posts


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)

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

While 1
    $msg = GuiGetMsg()
    Case $msg = $GUI_EVENT_CLOSE
    Case Else

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  


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.