PDA

View Full Version : Scrolling menu


silverlunchbox
03-17-2003, 02:24 AM
I wanted to have two different scroll menus. I use _root._ymouse it take the ymouse position for the movie clip. I just need on each scroll menu clips.
How do get each scroll menu to move on it own when the mouse is over movie clip?
------------------------------
onClipEvent ( enterFrame ) {
//shift = varible
shift = ((188.9 - _root._ymouse)/30)//code /"20" Divding the speed
if (((this._y >= 454) && (shift > 0)) || ((this._y <= -100) && (shift < 0))) {
shift = 0
// >= Y location on screen
}
this._y = this._y + shift;
//this is adding the movieClip._y to the varible
}

-----------------------

Thank you for your help

pom
03-17-2003, 09:53 AM
I think you forgot to ask your question... :)