Jump to content

AVI in GUI help


Recommended Posts

Hey guys, well I recently began using autoit again, and I cannot manage to get an .avi video clip that I have, running inside the gui...here's part of the source code

#NoTrayIcon

#include <GDIPlus.au3>; this is where the magic happens, people

#include <GuiComboBox.au3>

#include <File.au3>

#include <Array.au3>

#include <WindowsConstants.au3>

#include <GuiConstantsEx.au3>

#include <ButtonConstants.au3>

#include <GUIConstantsEx.au3>

#include <WindowsConstants.au3>

#include <IE.au3>

#include <AVIConstants.au3>

Opt("MustDeclareVars", 0)

zzz()

Func zzz()

Guicreate("zzz", 500,400)

GUISetState()

GUICtrlCreatePic(@ScriptDir & "\babysnoopy.jpg", 0,0, 500, 400)

GUICtrlCreateAvi(@ScriptDir & "\snoopydancing.avi", 0,0,500,400)

While 1

$msg = GUIGetMsg()

Select

Case $msg = $GUI_EVENT_CLOSE

ExitLoop

EndSelect

WEnd

Endfunc

and then nothing pops up except the .jpg of snoopy, but that's just there because if I don't have it, then I get a gray background for the gui...I just want the video on part of the gui, if anyone could help me, it'd be much appreciated, thanks!

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...