Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Flash General Questions > Other Flash General Questions

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-10-2001, 08:22 PM   #1
creamroyale
Registered User
 
Join Date: Dec 2000
Posts: 10
Exclamation

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
creamroyale is offline   Reply With Quote
Old 02-12-2001, 07:15 AM   #2
mgb
New Member
 
Join Date: Jan 2001
Posts: 245
Default

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
mgb is offline   Reply With Quote
Old 02-12-2001, 05:52 PM   #3
creamroyale
Registered User
 
Join Date: Dec 2000
Posts: 10
Default thanks

thanks a lot!

I'm gonna try that!

chris
creamroyale is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
simple scrolling help quovadimus02 ActionScript 1.0 (and below) 2 09-03-2005 10:26 PM
help with text scrolling darth Other Flash General Questions 0 09-03-2004 05:18 PM
scrolling line of images mairoLT ActionScript 2.0 8 12-11-2003 07:20 AM
scrolling lists generator object ? spoonyg Server-Side Scripting 0 01-04-2002 04:41 AM
** Floating or levitating scrolling ?? ** Thanks! creamroyale ActionScript 1.0 (and below) 2 02-14-2001 05:54 PM


All times are GMT. The time now is 09:20 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.