PDA

View Full Version : Red Lobster scrolling site...how'd they do that?


noliver
12-14-2004, 05:58 AM
Hi,
I was impressed with Red Lobster's site.

http://www.redlobster.com/homeflash.asp

The page "follows" the cursor. I would like to know how to achieve that effect. What is the proper term for this technique and could anyone suggest where I might find tutorials on this type of technique.

Thanks in advance!
noliver

Scottae
12-14-2004, 01:04 PM
It's usually referred to as an infinite menu (http://www.kirupa.com/developer/mx/infinite.htm)

noliver
12-15-2004, 06:22 AM
Thank you so much. Many times finding the right words to discribe what I'm looking for is most of the battle.
The tutorial was perfect.

I'm wanting to create a timeline with this technique and have it stop moving when it reaches the ends instead of bouncing to the other end. How would I modify the actionscript to achieve that?

Much thanks again!
Noliver

TheNewKid
02-08-2007, 05:52 PM
you need to use some actionscript like:

if(this._x<=200){
this._x=200
}
if(this._x>=100){
this._x=100
}

But replace 200 and 100 with the ends of your menu.

Thank "m. allen west" for that actionscript! Hope it helps