Link to home
Start Free TrialLog in
Avatar of kanary
kanary

asked on

Drop Down Menu Error

Hello Experts,

i'm the one who is gonna ask now, funny :))

http://www.kanary.net/EE/BAMenu.html

take an easy look, figure out the error, and comment

Avatar of rexmor
rexmor
Flag of Philippines image

I've only seen that all pulldown menu are all open. It's difficult to comment to an expert one. hmmnnnn... It because I can't see the code. How did you made it? Maybe the problem  is you use gotoAndPlay on rollOver or I don't know.

If I'll be the one to make that I'll use a mouse HitTest and check on enterFrame or mouseMove. My friend kanary, can you post the .fla? thanks.

regards,


rexmor
I don't know what happen if you point the mouse at the letter "t" of Development and also of letter "k" of Personal Handbook and the rest... it seems that it's looping.

I'm sure you can solve that by your own... believe it in yourself. But if not... hmmnn many people around you willing to help. Maybe you need to refresh your mind and you get the solution for that. I think it's not a difficult one.



rexmor
I also found an extra rollOver on Documentation menu. Try moving the mouse after Presentations and also other menu.


still

rexmor
Avatar of kanary
kanary

ASKER

hello rex, thx a lot for ur comments.

ya, i know the second bug, this is not a big deal.

my big problem is that the drop down menus doesn't close every time u roll over another menu

plzz post ur mail to send the file to u
Avatar of rascalpants
Big K,

It looks as if you are using a menu system that either has invisible buttons or hitTest to make the menu retract back up...  but you have areas where the code is not being initiated.


What type of system ARE you using?

Maybe you should be using a systems that checks the x,y position of the mouse in relation to the menu that is dropped down...  

send me the menu .FLA  I will take a look at it as well...


send it to:

kanary@rascalpants.com


rp
Avatar of kanary

ASKER

u can all access the fla file from here:

http://www.bibalex.org/smeconference/images/kanary/bamenu.fla

im not checking the x or y positions rp. just rollover events.

and thx for the special e-mail.
can i use it to send and recieve from it , LOL
no  :)

my email system uses "anyname" @ rascalpants.com

so I tell people to send it to that email address, so I can track the who is sending the info...   but all email to my site is redirected to another account elsewhere...


I am trying to put together a freeMAIL  page that anyone can use to send email for free...   this is so that you don't have to sign in to hotmail or something else...

I will look at your files in a bit...

rp
kanary,

I can't open the file...


rexmor
Here comes the solution

Add

on (rollOut) {
      gotoAndPlay(42);
}

to every intenance of RollOver in 1, 2, 3, 4, 5...

Note: It's not 100% solved, but 80% or 90%

BR,
Bill Pan
Again, Enlarge the HIT area of RollOver2
will help.

Also the looping problem rexmor mentioned will be solved if you
set the HOLE in RollOver2 the same width as
the width of RollOver.

bp
how about...

onClipEvent (enterFrame) {
      if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
            gotoAndStop (2);
      } else {
            gotoAndStop (1);
      }
}


// then on frame #2 has a movieClip to pull menu down. I'm sure kanary knows this.



rexmor
Can't download the file. Anyway, what i do for my drop downs is to create an invisble button that is abt 10% - 20% bigger then the menu. Then cut out the center of the button so that now the button is hollow in the center. Then on that button, write the rollOut script. Put this button on the last layer so that it won't interrupt the drop down buttons. ;) Hope this helps u. I do have a working one if you need to see.
Avatar of kanary

ASKER

Hello every body again,

so soory i didn't return back to the question early, u know how much we r busy :)

Dear Rexy, the problem is not the overlapping. there is no overlapping between the drop down menues, the problem is that when i move fast from the first drop down to the other it prevents the furst dropdown from completing its closing tween. and the focus goes to the other drop down.
i tried using many techniques like setting flags and big rollover buttons but also the same problem.

billpan, didn't work too. when u bigger the rollover button, the problem gets bigger 2.

The Very Big Rascalpants, where r u ?

if any body can't access the file, plzzz post ur email to send the fla to u.
i want the solution working, if anybody has a nice working idea, plzzz apply it to the fla and send it back to me.

thx a lot for ur help. (i don't mind rewarding more points if the work worth).
kanary.
dear kanary,

it's rexmorsatyahoodotcom

willing to help an experts if i can...

regards,


rexmor


Ok here is how I solve this problem. Erm not solve exactly but at least it works 98% of the time.

1. Create a invisible button (btn1) like I said previously.
2. Write your roll out scripts there.
3. place this button at the edge of the menu.
4. Duplicate this button (btn2), increase the height of the button. Place it behind the btn1.
5. Repeat step 1 to 4 for the rest of the edges.
6. Repeat step 1 to 6 for all other drop-downs.

To view the sample: http://202.172.245.125/temp/dropdown_sample.html


If this is a bit confusing, u can download my fla at http://202.172.245.125/temp/dropdown_sample.fla

NOTE: In order to let u feel the difference, I've used the above mentioned method for menu 1 and 2 (Corporate Info and Products). The others are just normal drop downs. So when u move fast out of the other menus, it won't "close" as gd as menu 1 and 2.

btw you can send your fla to me at eunice@sgweb.net if you still can't get it work ;)
Avatar of kanary

ASKER

elhy, thx for ur help.

ur suggestions sre the one i'm implementing in the movie. but the difference tht ur drop downs appears very fast.so there will be no problem.

in my case im tweening the closing of every drop menu slowly, here the problem appears.

i'll send u the fla to take a look at it.
I've sent you the file. If you move the mouse across at a split second speed, it will still have the problem but I believe this is much better then your first version ;)

To view the files online, go to: http://202.172.245.125/temp/BAMenu.html

however, i will still my best try to improve it. Meanwhile see if this is gd enough for you.



ASKER CERTIFIED SOLUTION
Avatar of rexmor
rexmor
Flag of Philippines image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
rexmor: hmm...i see that you've added the code to enable button two. but the button was not being disable in the first place? I also see that only button one has this code and button one got stuck when rollover at a fast speed. I wasn't able to even "close" the menu when i try to rollout slowly on button one.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kanary

ASKER

kanary at kanary dot net
sent.
Avatar of kanary

ASKER

recieved  and will be processed :)
Avatar of kanary

ASKER

Hello again,

thx a lot rexmor and D3C0Y for ur help, u both did a agreat job.

i'm going to split the points between u because u gave me the closest solutions.

but plzz, post ur proposed solutions here, to let every body learn from this thread,
thx a lot.

Rex, as promissed:
https://www.experts-exchange.com/questions/20738157/Rexmor-Gift.html
Glad to be able to assist an Expert! =)

Forgive me for not posting the files earlier. I figured it would be faster to just email. Here are links to the source files:

www.tightnetworks.com/kanary/bamenu.fla
www.tightnetworks.com/kanary/bamenu.html