Figured it out. The DesktopX resources under the Help section said that &H0000002 was Reverse, but changing it to &H0000004 caused it to reverse. I don't know if I'm misunderstanding the word "reverse", but I got it working now. The script is exactly as above, only with &H0000004 instead of &H0000002. Thanks for the help :D Maybe someone will find the answer useful :D Edit: Also had to change &H0000008 to &
EllardComputers
Update: I created a new object and set it's appearance. I then added the script and it sorta worked. Here's what it needs to do: 3 Stages of animation Stage 1 - Still image Stage 2 - Animated Forward Stage 3 - Animated Backward The order should be, Stage 1 until clicked, then Stage 2 for 5 seconds, then Stage 3, and finally stage 1 again until clicked once more. What's happening is this: Stage 1 until clicked, then Stage 2 fo
Running version 3.5 The object has a default state with the appearance set to IMG00000.bmp and running the script I entered above.
They're included in the custom files of the object.
Still doesn't work. Here's what I have right now: [code="vbscript"]'Called when the script is executed Sub Object_OnScriptEnter End Sub Function Object_OnLButtonUp(x, y, Dragged) If Dragged = False Then Object.SetPicture "YingYangAnimStrip.bmp",28,50,&H0000008 Object.SetTimer 1, 5000 End If End Function Sub
I'm trying to set up an animation to play when I click on it, then wait about 5 seconds, and then return to it's original state. Here's what I have so far: [code="vbscript"]'Called when the script is executed Sub Object_OnScriptEnter End Sub Sub Object_OnStateChange(state) If state = "Mouse Down" Then Object.SetPicture "YinYangAnimStrip.bmp",28,50,&H0000008