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

Share this post

Link to post
Share on other sites


just another example of embedding flash

Edited by gafrost

SciTE for AutoItDirections for Submitting Standard UDFs


Don't argue with an idiot; people watching may not be able to tell the difference.


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  

  • Create New...