keilamym Posted February 1, 2014 Share Posted February 1, 2014 im trying to test animating a simple gif file... the .gif comes up but it doesn't move and im not sure what I did wrong.. any assistance is appreciated. #AutoIt3Wrapper_Res_File_Add=C:\temp\arrow_logo.gif, rt_rcdata, TEST_JPG_1 #include "resources.au3" $arrow_logo = "C:\temp\arrow_logo.gif" $gui = GUICreate("Data from resources simple example 1",400,150) $pic1 = GUICtrlCreatePic($arrow_logo,0,0,400,150) _ResourceSetImageToCtrl($pic1, "TEST_JPG_1") ; set JPG image to picture control from resource GUISetState(@SW_SHOW) While 1 If GUIGetMsg() = -3 Then Exit WEnd I looks pretty simple but cant get it to work. I im on Win8.1, IE11 and using the newest autoit version. Link to comment Share on other sites More sharing options...
Gianni Posted February 1, 2014 Share Posted February 1, 2014 have a look >here Chimp small minds discuss people average minds discuss events great minds discuss ideas.... and use AutoIt.... Link to comment Share on other sites More sharing options...
trancexx Posted February 1, 2014 Share Posted February 1, 2014 Yes, I would do that too. In case of using the other UDF it would be something like this: #include "GIFAnimation.au3" $gui = GUICreate("Data from resources simple example 1", 400, 150) $pic1 = _GUICtrlCreateGIF(@AutoItExe, "10;TEST_JPG_1", 0, 0, 400, 150) GUISetState(@SW_SHOW) While 1 If GUIGetMsg() = -3 Then Exit WEnd ♡♡♡ . eMyvnE Link to comment Share on other sites More sharing options...
keilamym Posted February 1, 2014 Author Share Posted February 1, 2014 Thanks... ill try it when I get home.. appreciate your help.. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now