Jump to content

Recommended Posts

Posted

i think i had posted this a long time ago but,

i cant get my picture to move in my gui when i use this.

GuiCtrlCreateAvi("spin.avi",0, 12,  $ACS_AUTOPLAY)

i am converting animated .gif to .avi and the .avi file is pretty big...

but i have tried a few of them, and none will move.

they just sit still.

i think i remember someone saying that not all .avi files will work.

but i have already tried a bunch.

what can i do??

is it the size of the file thats the problem?

Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you.

Posted

Obviously you didn't look at the help file before posting, otherwise, you would see that you're doing stupid things with the parameters you are passing. Suggestion: Read, and more importantly, spend time comprehending the help file.

Posted

cool

GuiCtrlCreateAvi("spin.avi",0, 0, 370, 32, 32, $ACS_AUTOPLAY)
GuiCtrlCreateAvi("spin.avi",0, 100, 370, 32, 32, $ACS_AUTOPLAY)
GuiCtrlCreateAvi("spin.avi",0, 200, 370, 32, 32, $ACS_AUTOPLAY)

im doing that, and i get all 3 pics to spin at the same time

i tried to put sleep in between them, to make them spin at different times, so they werent in sync

GuiCtrlCreateAvi("spin.avi",0, 0, 370, 32, 32, $ACS_AUTOPLAY)
sleep(333)
GuiCtrlCreateAvi("spin.avi",0, 100, 370, 32, 32, $ACS_AUTOPLAY)
sleep(333)
GuiCtrlCreateAvi("spin.avi",0, 200, 370, 32, 32, $ACS_AUTOPLAY)

it semi-worked....the first 2 were still were in sync..

would there be a good method for doing something like this?

Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you.

Posted (edited)

anyone?

its pretty clear. do you understand what im talking about?

EDIT: im seeming to get some results by adding the create .avi commands to the beginning of the script..

i think i can play with it and get my desired results.

cool!

Edited by t0ddie

Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you.

Posted (edited)

this works great! i just thought of it.

AdlibEnable ("shmegma")



func shmegma()
    GuiCtrlCreateAvi("spin.avi",0, 0, 370, 32, 32, $ACS_AUTOPLAY)
    sleep(1000)
GuiCtrlCreateAvi("spin.avi",0, 100, 370, 32, 32, $ACS_AUTOPLAY)
sleep(2000)
GuiCtrlCreateAvi("spin.avi",0, 200, 370, 32, 32, $ACS_AUTOPLAY)
AdlibDisable ()
EndFunc
Edited by t0ddie

Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you.

Posted

ewwwwww...

if the gui loses focus, the spinning stops.

then you give it focus again... they sit for a few seconds... then they all spin simultaniously.

lol..

oh well..

Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you.

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
×
×
  • Create New...