|
-
yeah yeah yeah
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
-
myClip_mc.swapDepths(-100);
Use negative numbers higher than -16383.
Argon Zark!, The original interactive webcomic (since 1995)
-
yeah yeah yeah
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|