Thornhunt 0 Posted October 26, 2010 (edited) i know its simple but i cant see what is wrong :/ yehh i know the variables are long ect ect.. its poor programming but its just a skeleton to be worked on so dont get all picky please. #region#####cinimatics startup##### $GUIcinimaticstart = GUICreate("movie", 1024, 768, 0, 0,$WS_POPUP) GUISetBkColor(0x000000) $cinimaticstartavi = _GUICtrlAVI_Create($GUIcinimaticstart, @ScriptDir & "\data\mvs\Duty.avi", -1,0,0,1024,768) GUISetState() SLEEP(1000) _GUICtrlAVI_Play ($cinimaticstartavi) sleep(1000) #endregion this is showing naff all . i have tried the $ani1 = GUICtrlCreateAvi(@Sys... way but that returns a error about the file being corrupt ect. can anyone please help me here or point to me were i am going wrong ? //edit OMG i need to get some sleep.. my spellign atroutious.. >.< and now im resulting back to caveman programming :/ Edited October 26, 2010 by Thornhunt Budweiser + room = warm beerwarm beer + fridge = too long!warm beer + CO2 fire extinguisher = Perfect![quote]Protect the easly offended ... BAN EVERYTHING[/quote]^^ hmm works for me :D Share this post Link to post Share on other sites
JohnOne 1,603 Posted October 26, 2010 (edited) EDIT: Poor answer. sorry Edited October 27, 2010 by JohnOne AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Share this post Link to post Share on other sites
jaberwacky 327 Posted October 27, 2010 Here's what worked for me. I chanegd some things around but you should be able to grok the solution. I think it's the way you handle showing the GUI. Sorry for my delayed response. #include <GuiAVI.au3> #include <WindowsConstants.au3> #include <AVIConstants.au3> HotKeySet("{ESC}", "term") #region#####cinimatics startup##### $GUICinematicStart = GUICreate("Movie", 400, 400, -1, -1, $WS_POPUP) GUISetBkColor(0x000000) $CinematicStartAvi = _GUICtrlAVI_Create($GUICinematicStart, @DesktopDir & "\FlickAnimation.avi", -1, 0, 0, 400, 400, $ACS_AUTOPLAY + $ACS_CENTER) GUISetState() _GUICtrlAVI_Play($CinematicStartAvi) While 1 Sleep(100) WEnd #EndRegion#####cinimatics startup##### Func term() _GUICtrlAVI_Destroy($GUICinematicStart) Exit EndFunc Helpful Posts and Websites: AutoIt3 Variables and Function Parameters MHz | AutoIt Wiki | Using the GUIToolTip UDF BrewManNH | Can't find what you're looking for on the Forum? Share this post Link to post Share on other sites