Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | FLASH: Dynamic scaling with actionscript |
From: | Michael Dunn |
Date: | Mon, 13 Mar 2000 18:45:02 GMT |
I'm trying to do what seems like a fairly simple effect. I have a list of links.
What I want to happen is when the mouse is on top of a link, it scales to 250%.
The further the mouse moves from the link it scales closer to 100%. For
instance, if you have a list of a-g, and the mouse is over D the scale
percentages would be as follows
a: 100%
b: 150%
c: 200%
d: 250%
e: 200%
f: 150%
g: 100%
I tried to deconstruct Branden Hall�s scrolling menu movie clip and build from
that, but I can't seem to get it to work. I figure that you would need to set a
variable that gets the y position of the item, another that gets the y position
of the dragging movie clip, compare the two and figure the difference which
would be used to set the scale of the item. I'm at a complete loss here (I've
only really been actionscripting for a couple of weeks now) and would appreciate
any help. Email me if you need more info.
Thanks in advance.
--
Michael Dunn
The Merica Agency
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
flashforward2000 and The Flash Film Festival
"The World�s Premier Flash Solutions Conference and Expo"
March 27-29, Nob Hill Masonic Center, San Francisco, California
-Register before Feb 25 and save $200!!-- www.flashforward2000.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]