PDA

View Full Version : smooth scrolling


texbala
11-02-2002, 08:00 PM
hi all,

I need to put a banner with around 8-10 images scrolling continuiously. For that, i created a simple motion tween with frames/sec as 6.

when i run it, it goes frame by frame. What should I do for scrolling it smoothly?

am attaching a sample file.

does any website has a tutorial for scrollling images in a banner(when i search for scroll, many tutorials come for scroll bar navigatoin for text! :( )

thnx!!

Jon B
11-03-2002, 01:38 AM
I haven't downloaded your file, sorry, bandwidth issues and all.

But, in order to get smooth scrolling in a motion tween you need to make sure you have enough frames between the states otherwise it will be jerky, the easiest way to do this is to increase the framerate to about 20fps or 24fps (24 being a tv standard refresh rate and hence smooth to look at). Play about with framerate and number of frames between the states and you'll get the perfect result.

Be warned tho that framerates of 60fps+ may make the flash debug player freeze up. Also High framerates require more cpu power, so stick to about 20fps or 24fps.