overLapping rollOvers

I am scripting a thumbnial horizontal scroller, it will included (loaded) into a main .swf.

my problem is this, I have a big hidden button on the top layer that detects the rollOver and gets the thumbs moving, works great, except it prevents all my other other rollOvers from working… I undstand why it does this, what I would like to know is some kind of alternate way to trigger my function… or some trick other than swapDepths, or if swapDepths is the only way, how do I trigger it to swap the moveHit for the urlHit…

I have tried everything from a hidden button that covers the stage, to using:

this.onRollOver = function() {
_root.moveStrip();
};

on everything.

hopefully I am missing something small.
I forgot to mention that the strip will reset on(rollOut) as well, or else I wouldn’t worry about it, and just let the mouse drive it constantly.

sorry for being so verbose : )

Mayhem
www.2muchinfo.com

so you have a button that tests if it hovers over the other buttons? then plays an animation?

hoi

if you turn you big button into am MC and set the alpha to 0
the change you


this.onRollOver = function(){
//code
}
 
this.onrollOut = function() {
//code
}


to



this.onEnterFrame = function(){
if(this.hitTest(this._parent._xmouse,this._parent._xmouse && !RolledOver){
RolledOver = true
// code
} else if (!this.hitTest(this._parent._xmouse,this._parent._xmouse && RolledOver){
RolledOver = false
//code
}
}

now your useing hit test instend of a hitArea and so not geting in the way of the other buttons

:wink:

Ooh, that’s a different approach, thanks, I’m going to try it right now!

Thanks.

Mayhem
www.2muchinfo.com