hi
how can I set 2 state for a sprite.
I mean I have 2 image of the same sprite: spriteOn.png and spriteOff.png
I can simply draw them on the display using the paint method.
but how can I alternate them using a fixed time (about 500 ms)?
I tryied to use the wait and the timer method with no success.
a simply example code will be very wellcome.
thanks
eml

Reply With Quote

