|  | order movie clips on mouse over |  | |
| | | trickstar48 |  |
| Posted: Tue Sep 02, 2008 2:55 pm Post subject: order movie clips on mouse over |  |
Have four movie clips on same frame/stage. On mouse over each one plays individually and overlaps the others. I need a script that will bring forward the movie clip that is currently moused over sending the previous clip behind the current clip. The clips are named btnB_mc, btnC_mc etc.. None of the clips need to have any onRelease functions.
Thanks for any help.
btnB_mc.onRollOver = function () { btnB_mc.gotoAndPlay("_over"); } btnB_mc.onRollOut = function () { btnB_mc.gotoAndPlay("_out"); } |
| |
| | | trickstar48 |  |
| Posted: Tue Sep 02, 2008 6:38 pm Post subject: Re: order movie clips on mouse over |  |
this code brings the moused over clip forward, but make the clip play jumpy on RollOut. Just need a little help on where this should be listed and if there is something missing.
btnB_mc.onRollOut = function() { this.swapDepths(_root.getNextHighestDepth()); }; |
| |
|
|