Sign in to follow this  
Followers 0

Playing a flash object in a GUI...

6 posts in this topic

#1 ·  Posted (edited)

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  
Followers 0