hi,i wolud like to know how can i do to make a slider like this the buttom slider when i rollover a buttom the slider moves how can i do that in flash.
thanks in advance
how can i make a slider like this
Started by mxo22, Jan 18 2006 02:28 AM
3 replies to this topic
#1
Posted 18 January 2006 - 02:28 AM
#2
Posted 18 January 2006 - 03:12 AM
That's a Follower Menu you should find one here:
http://www.pixel2life.com/tutorials/Macrom...follower%20menu
http://www.pixel2life.com/tutorials/Macrom...follower%20menu
#3
Posted 18 January 2006 - 03:54 AM
hi i foun one but is not exactly what i am lokking for please help me i donīt know too much about script this is the tutorial http://www.stilva.com/cursor-follower/ but it moves on mouse event i want to move a "thing on rollover event and only to _x.
thanks in advance
thanks in advance
#4
Posted 23 April 2006 - 01:43 PM
wow, i must be really bored.
This goes on the MovieClip which moves.
on the button which triggers the move action. 'bar' being the instanceName of the MovieClip Object.
This goes on the MovieClip which moves.
onClipEvent (load) {
targetx = 396;
width = 10;
}
onClipEvent (enterFrame) {
if (_root.activateover == 2)
{
if (this._alpha < 100)
{
aa = _alpha;
this._alpha = int(aa) + 20;
}
}
speed = 8;
viscosity = 1.5;
// take care of our x position
difference = targetx - _x;
xvelocity = (xvelocity + (difference) / speed) / viscosity;
_x += xvelocity;
if (this._width >= width)
{
_width = _width - 4;
}
if (this._width <= width)
{
_width = _width + 4;
}
}
on the button which triggers the move action. 'bar' being the instanceName of the MovieClip Object.
on (rollOver) {
bar.targetx = 97;
bar.width = 50;
}
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
