PDA

View Full Version : Wee swap depths problem



yorkshirepuddin
November 21st, 2002, 04:22 PM
Hi,

I have managed to script the swap depth AS into my movie, however, I have come across this problem.

I have three MCs on the stage acting as buttons. On rollover, the expand and slightly cover this other MCs. This is fine as long as that particular MC is on top.

So, here's what I did:

_root.button1.onRollOver = function() {
this.swapDepther(button2,button);
};

this works fine except it only does it once. I need to do it everytime they roll over.

I tried putting a goToAndStop on the _down frame in the actual MC, but it didn't make a difference.

Any ideas? YP

yorkshirepuddin
November 21st, 2002, 05:12 PM
Not to worry guys, problem solved! :)