FLash_mc on top
FLash_mc on top
- Started
- Last post
- 3 Responses
- dfd
Hey,
Just wondering, if i have a bunch of mc's on the stage, and on roll over, i want the one the cursor is on to appear on top of the others, how would i approach this?
(high five to anyone who helps me, yes!)
- ozhanlion0
Example
The following example swaps the stacking order of two movie clip instances. Overlap two movie clip instances on the Stage, called myMC1_mc and myMC2_mc and then add the following ActionScript to your AS or FLA file:myMC1_mc.onRelease = function() {
this.swapDepths(myMC2_mc);
};
myMC2_mc.onRelease = function() {
this.swapDepths(myMC1_mc);
};
- UndoUndo0
or load your new cursor from an external swf into a really high level that you will not exceed with your other swfs.
- dfd0
HIGH FIVE ... well, haven't tried it yet but will soon thanks!