PDA

View Full Version : ** Floating or levitating scrolling? **


creamroyale
02-10-2001, 07:22 PM
Hi!

Ok, I know how to build a scrollbar, like in the tutorials on this site.

However, I'd like to make a SELF-MOVING & SCROLLABLE (seems like floating or levitating) content; so that if I take the button to move the content (eg a background picture) and then release the button, the background continues to move in that direction, getting slower and slower and eventually stops (something like here: http://www.chaotic.co.uk ).

Thanks for any help!!

christian

mgb
02-12-2001, 06:15 AM
You'll have to look in the movies section or the tutorials section to get the full story but the bones of it is as follows;

you set a variable y = start position and,
y2 = current position

then set property X Position = (y + (y2 - y)*.3)

ie get the distance the slider has travelled and make the movie clip follow at a certain percent of that distance. Have a look for downloads and you should get what you need.

~mgb

creamroyale
02-12-2001, 04:52 PM
thanks a lot!

I'm gonna try that!

chris