keypressed() ?

hi

i have a small square on the screen which i want to move with the key events in such a way that if the key is kept pressed for a while the square should keep on moving in that direction and when i release the key it stops

keypressed() method moves the square but i have to press the key every time to move it one place furthur...

i hop u understood what i said..

waiting for ur replies..

thanx in advance

regards

--ali hammad baig

[484 byte] By [ali_hammada] at [2007-9-24]