Google
 
Webnews.only-4-geeks.com
Interesting places
news.only-4-geeks.com Forum Index » Flash - ActionScript

order movie clips on mouse over

 
Jump to:  
 
trickstar48
PostPosted: 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
PostPosted: 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());
};
 

Page 1 of 1 .:.

Google
 
Webnews.only-4-geeks.com

Windows Update | C++ | C | PHP | JavaScript | Photoshop | Programming | Windows 2000 | Python | Windows XP | Object | Flash | Flash - ActionScript | Paint Shop Pro | Excel | PowerPoint | Access | Word | Windows 98 | Internet Explorer 6.0 | CorelDraw12 | Java | XML | asm x86 | Linux Mandrake | Linux RedHat | Outlook |  | news from newsgroups |_ | s

Web Templates

Awesome Website Templates ©

katalog new Mecze na żywo w internecie miami auto auction bet-at-home Punkt zwrotny