|
|
|
#1 |
|
yeah yeah yeah
Join Date: Jul 2002
Location: Jibblies!
Posts: 480
|
Setting depth for an instance on the stage
Hi gang,
This is an easy question that for some reason is escaping me. I have a MC instance on the stage that becomes the mouse cursor when the swf is loaded, and a linked mc that is dynamically generated to travel across the stage. All of that is working just fine, but I wanted the cursor to be set to the highest depth so that it's on top of everything else. I think I know how to set depth to a dynamically loaded mc, but I forgot how to set depth for something already on the stage. Moving the layers around does nothing. MX04 and AS2.0 Any help is most appreciated! -Sandy |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Apr 2001
Location: Philadelphia, PA, USA, Earth, Sol System, Spiral Arm of Milky Way, Local Group, Virgo Supercluster, Known Universe
Posts: 463
|
myClip_mc.swapDepths(-100);
Use negative numbers higher than -16383.
__________________
Argon Zark!, The original interactive webcomic (since 1995) |
|
|
|
|
|
#3 |
|
yeah yeah yeah
Join Date: Jul 2002
Location: Jibblies!
Posts: 480
|
Thanks! I looked at the help on swapDepths, and I thought it only worked for two instances of the same MC, so I didn't try it. Works just fine, now!
Thanks again, -Sandy |
|
|
|
![]() |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|