Intervals?

can we have an actionscript where there is a button to control the movement of the object and not add setInterval in it?