all groups > macromedia flash sitedesign > july 2007 >
You're in the

macromedia flash sitedesign

group:

button within movie clip doesn't work


button within movie clip doesn't work masterkrang
7/23/2007 3:41:14 PM
macromedia flash sitedesign:
hi,

i've created a products movie clip. when you mouse over the products button,
the movie clip has a sub-navbar tween horizontally out of the movie clip. when
the subnav is done coming out and stops, i have buttons that appear that i
would like the user to be able to click on. everything works out fine until i
roll over the button, nor does the rollover state work. i have a feeling it is
because the button is nested, but not sure.

i set up a simple example here:
http://kurtcom.com/examples/jeannettes_damn_navbar.html

let me know if you want me to email you the file as well, thanks!
Re: button within movie clip doesn't work masterkrang
7/25/2007 3:47:15 PM
still looking for an answer to this question....

simple code:

products.onRollOver = function() {
products.gotoAndPlay("over" );
}
products.onRollOut = function() {
products.gotoAndStop(1);
}

i have a button that is within the products mc's timline. the button will not
work...? do i need to delete the onRollOver? ???

the file is very small and simple, i can email it. thanks!
Re: button within movie clip doesn't work Matthew Traxler
7/27/2007 10:46:44 PM
I had a similar task/problem not too long ago-

it may be as simple as making a movieclip that covers your entire button /
fly out menu... set that to visible = false; - then set your hitArea as the
invisble movieclip for the menu...

if you have multiple menu's that would overlap- which was the problem i had-
search for a tutorial on flyout menus in flash... i found a few that helped me
out quite a bit- from what i recal, they all had to do with the hit area...

hopefully that helps somewhat- sorry i don't have solid answers at the moment..
AddThis Social Bookmark Button