Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > General > Animation and Effects

Reply
 
Thread Tools Rate Thread Display Modes
Old 04-19-2002, 02:59 AM   #1
flashy
Registered User
 
Join Date: Apr 2002
Location: Utopia
Posts: 13
Default drop-down menu

I am using drop down menus in my movie and they are working quite nicely.

The only thing is (and I've seen this with other sites as well, not all, but some), the menus don't necessarily disappear on rollout. I have an invisible button over each menu that collapses it on rollout but there are times when it seems that rollout doesn't work and the menu is left hanging there. There are times when I can get all my menus to hang which looks kind of weird.

Is there a rhyme or reason to this? Is it a function of how fast you move the mouse and how long the menu takes to fully play out? I have seen some movies that consistently close no matter what.

Hmmm, I just thought of something as I was writing, could this be a possible solution? -- Set an action in all the menus that specifically return all other menus to their original (collapsed) state before expanding the current menu?
flashy is offline   Reply With Quote
Old 04-19-2002, 08:18 AM   #2
sfa
The Placid Casual
 
sfa's Avatar
 
Join Date: Oct 2001
Location: Malta
Posts: 1,024
Default

besides rollOut try adding dragOut, see if that will work.

SFA
sfa is offline   Reply With Quote
Old 04-19-2002, 12:22 PM   #3
FiZzIk
Ya mek ti wit buylin wata
 
FiZzIk's Avatar
 
Join Date: Feb 2002
Location: Adelaide
Posts: 71
Default

i was having the same problem on a recent project. what i did was make the menu dissapear after the mouse crossed a certain height and width in pixels.

hope that gives u an idea.
FiZzIk is offline   Reply With Quote
Old 04-19-2002, 08:02 PM   #4
flashy
Registered User
 
Join Date: Apr 2002
Location: Utopia
Posts: 13
Default can you give me specifics?

I tried adding rollout, dragout, dragover and unfortunately none worked but thanks for the suggestion.

As of right now, when you mouse over the button, the menu expands. Rolling the mouse over the sides and bottom of the menu makes it disappear,...the only weird spot is the top, when you exit the menu from the top (essentially going over & past the button that originally activated the menu), it remains hanging.

I think I understand why this is (has to do with the levels of the buttons)

Anyways, to make a long story short, Fizzik, would you mind sending me the snippet of code that will allow me to control the menu via mouse location?

Much appreciated!
flashy is offline   Reply With Quote
Old 04-20-2002, 02:26 AM   #5
FiZzIk
Ya mek ti wit buylin wata
 
FiZzIk's Avatar
 
Join Date: Feb 2002
Location: Adelaide
Posts: 71
Default

this code is on the mc that my button is in, all my buttons are in separate mc's.

ActionScript Code:
onClipEvent (mouseMove) {     if (this._ymouse < 0){     this.menuText.gotoAndStop(1)}
FiZzIk 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
drop down menu help marktetto ActionScript 1.0 (and below) 6 06-13-2003 07:54 AM
drop down menu z1ppy Other Flash General Questions 3 06-10-2003 05:22 PM
Mulitple Drop Down Menu problem Deathmaster213 Components 0 06-06-2003 01:03 AM
ext loaded movie covering drop down menu! Help! Julz ActionScript 1.0 (and below) 8 04-18-2003 06:34 PM
Scrolling Drop Down Menu like Windows? James ActionScript 1.0 (and below) 0 07-24-2001 01:03 PM


All times are GMT. The time now is 11:52 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.