Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
| Subject: | RE: FLASH: Yo Branden! (another question, sorry, diff topic tho, heh) |
| From: | Branden Hall |
| Date: | Fri, 21 Jan 2000 21:02:34 GMT |
Its actually pretty easy to do this... first of all add the following lines
to the code in the first frame of the main movie:
Set Variable: "top" = 225
Set Variable: "bottom" = 175
Set Property ("/slider1", X Position) = GetProperty("/slider2",
_x)-GetProperty("/slider2", _width)
Set Property ("/slider3", X Position) = GetProperty("/slider2",
_x)+GetProperty("/slider2", _width)
Then go into the controller movie clip and change both frames so that all
the code that is there is encapsulated within the following if statement:
If (GetProperty("/draggy", _y)>=/:bottom and GetProperty("/draggy",
_y)<=/:top)
End If
Wala! Thats it! Then just change top and bottom to whatever you want.
-= Branden J. Hall
-= Multimedia Developer/Instructor
-= Fig Leaf Software
-----Original Message-----
From: owner
Sent: Friday, January 21, 2000 3:12 PM
To: flasher
Subject: FLASH: Yo Branden! (another question, sorry, diff topic tho,
heh)
Been playing with your NewSlider.fla and was wondering something. Is there
a way to only have the mouse position affect the
acceleration/movement/direction of the slide while the mouse is actually
OVER the slide image? So that when you move the mouse off the slide, and
wiggle it all over the place, it doesn't affect the slide's movement in any
way? But then, of course, when you move the mouse back over the slide again
the mouse's position once again affects the slide? I'm hoping this can be
done without the use of frames - so that it works completely within the swf.
Any guidance would be greatly appreciated. :D
-DGL
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California
Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email help
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email help
Replies
RE: FLASH: Yo Branden! (another question, David
Replies
FLASH: Yo Branden! (another question, so, David
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

