Got the movie Clip to work, but then… it is so FAST that it is hardly animation, it looks like animation on steroids, its too fast, how can I set the speed of the movie clip?
I am sure that is also obvious and easy, but…
*EDIT* I editied the movieclip.lua and added a new param, animSpeed this is used to slow down the animation.
Added two new local variables
local animSpeed=100 --Default Speed
local currentCounter=0
and modified the function header.
function newAnim (speed, imageTable)
and in the function set the animSpeed to the speed passed
animSpeed = speed
and then changed the enterFrame as
function g:enterFrame( event )
if currentCounter==0 then
self:repeatFunction( event )
currentCounter = animSpeed
end
currentCounter=currentCounter - 1
end
that’s it, it works for me…
But there has to be an easier way, if anyone knows, please let me know.
cheers,
Jayant C Varma [import]uid: 3826 topic_id: 3676 reply_id: 11207[/import]