?
Solved

getting mouseovers and mouseouts to work properly

Posted on 2004-09-03
4
Medium Priority
?
183 Views
Last Modified: 2010-04-03
hi there

check out http://www.citrusmedia.com/ 
(VIEWING REQUIREMENTS etc buttons in bottom right),and

http://www.benjerry.com/our_company/international/?CFID=121480&CFTOKEN=59201373 
(menu header buttons et al)

my question is how to maximize button efficiency: I have always kept my mouseover dropdown menus (or dropovers) as short of an animation as possible, as i sometimes get an overlay of dropdowns when mousing across my menu bar.

any ideas on how best to set up your menu bar to allow for the kind of dropdowns in the examples above?

thanks for reading!
aidan
0
Comment
Question by:aidan09
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 39

Expert Comment

by:blue-genie
ID: 11970959
Not sure what you're asking, but you don't want your opening and closing animations to overlap on your button rollovers?

if thats the case, you can simply delay the opening until the closing has taken place, by including a closed = true option on the last frame of the closing animation, and then the rollover must test for the variable before running the opening sequence.
(i'm assuming your animations are not on the over state of buttons.)

ps. i like the design work on citrusmedia.

blu.
0
 
LVL 2

Accepted Solution

by:
cheyennejk earned 2000 total points
ID: 11975816
Here is the basic stategy shown below with some simplecode. Of course you can customize this and make it as complex as you want (such as adding fade ins,  expandable movie clips, etc)

1) You can create a set of graphics such as SubMenu1, SubMenu2, SubMenu3....
2) Import  them to the stage in the appropriate position above the links

3) Name your links... Your links could be instances of a Button.

4) Apply some actionscript:


button1.onRelease=function()
{
  SubMenu1.visible=true;
  SubMenu2.visible=false
  SubMenu3.visible=false;
}


button2.onRelease=function()
{
  SubMenu1.visible=false;
  SubMenu2.visible=true;
  SubMenu3.visible=false;
}


button2.onRelease=function()
{
  SubMenu1.visible=false;
  SubMenu2.visible=false
  SubMenu3.visible=true;
}

0
 
LVL 39

Expert Comment

by:blue-genie
ID: 12004581
oi, you sorted?
0
 

Author Comment

by:aidan09
ID: 12014409
hey blu
sorry, was a 'question in time', R&D kinda inquiry - then i promptly left on holiday!
i haevnt yet tried cheyennejk's suggestion, though it looks pretty good to me in theory - will get round to it asap after clearing my desk up a bit, and get back to you guys.
thank u both for yr help!
aidan
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question