Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 03-17-2003, 02:24 AM   #1
silverlunchbox
Registered User
 
Join Date: Feb 2003
Posts: 25
Default Scrolling menu

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

Last edited by silverlunchbox; 03-17-2003 at 08:32 PM.
silverlunchbox is offline   Reply With Quote
Old 03-17-2003, 09:53 AM   #2
pom
Allez les Bleus!!!
 
pom's Avatar
 
Join Date: Oct 2002
Location: Paname
Posts: 2,493
Default

I think you forgot to ask your question...
pom is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:38 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.