Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | FLASH: re: scrolling menu info |
From: | neil edwards |
Date: | Tue, 4 Apr 2000 16:02:24 +0100 |
> From: "Tobie Kerridge" <tobiemook [dot] co [dot] uk>
> I recently saw a flash site (I can't remember where I'm afraid) with a
> scrolling navigation at he base of the page. Not only did it scroll left to
> right to allow buttons to scroll on to the screen, it also shrunk and
> expanded, in response - I think - to the vertical position of the mouse. It
> was cool.
this is no doubt the famous yugop.com site
>
> I guess the whole navigation strip was a movie clip with embedded buttons.
> Does anyone know how to control a movieclip's properties (scale and
> position) by the location of the mouse? Or was this achieved another way?
yep, flash dosent have a mouseloc system property, so you have to attach an
invisible object to the mouse using the startdrag function with the lock
mouse to centre option. then the object will track with the mouse and you
use its x,y pos to control the scrolling/expanding.
infinite wrapping involves tracking the xpos of the main menu strip and
making up the rest to the screen edges with some runtime duplicates.
you can use this technique to emulate all sorts of mouse-relative devices
that dont require buttons.
Its not too difficult but I think someone posted a demo of this, any clues
anyone?
cheers
neil
<--
neil_edwardsmac [dot] com
-->
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
the new Flasher list books section, check it out
at http://www.chinwag.com/flasher/books.shtml
send suggestions for inclusions to helpchinwag [dot] com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
FLASH: realFlash???, Neal Cabage
RE: FLASH: re: scrolling menu info, JGL
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]