Solved

getting mouseovers and mouseouts to work properly

Posted on 2004-09-03
4
182 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 500 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

707 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