Ball keeps moving

I have ball in my game and i want to give impulse for it. But now my ball just keeps making new impulse everytime. I want to, that impulse takes about 1 second and then ball keeps moving normally same way, where it was going.
Here is my code, please help me.

[code]local pallo2 = display.newImage (“pallo.png”)
pallo2.x = display.contentWidth/3
pallo2.y = display.contentHeight/6
physics.addBody(pallo2, {bounce = 0.8, radius = 15, friction = 0.3})

function moveball(event)
pallo2:applyLinearImpulse( 1, 1, pallo2.x, pallo2.y )
end

Runtime:addEventListener( “enterFrame”, moveball )
[/code] [import]uid: 18445 topic_id: 6776 reply_id: 306776[/import]

The “enterFrame” event happens every frame. So if you don’t want something to happen every frame then don’t put it in the listener for “enterFrame.” [import]uid: 12108 topic_id: 6776 reply_id: 23671[/import]