16
Technical forum / Animate sprites in windows
« on: March 27, 2012, 11:58:11 AM »
I have set up a static control in a window
The image for the static control is an animated sprite.
The animated sprite looping attribute is set to no
The animated sprite works fine once, so I have attempted to set it performing 5 loops, I have done this by using the methods Play() and Reset()
When I run the program I get cannot associate method with object for both Play() and Reset(). I have tried both methods , with a reference to both the control objects and a reference to the control objects image, neither can accept the method, any ideas
The image for the static control is an animated sprite.
The animated sprite looping attribute is set to no
The animated sprite works fine once, so I have attempted to set it performing 5 loops, I have done this by using the methods Play() and Reset()
When I run the program I get cannot associate method with object for both Play() and Reset(). I have tried both methods , with a reference to both the control objects and a reference to the control objects image, neither can accept the method, any ideas
Code: WME Script