Sign in to follow this  
Followers 0
maverick101

AVI in GUI help

3 posts in this topic

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!

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

take a look at a couple of answers here

http://www.autoitscript.com/forum/index.php?showtopic=100308&view=findpost&p=717607

8)

Edited by Valuater

NEWHeader1.png

Share this post


Link to post
Share on other sites

i looked at that thread...and It really did not have anything that helped me...what is video.au3 btw?

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