To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here


A Flash Developer Resource Site

Go Back   Flash Kit Community Forums > Flash Help > Flash Newbies

Reply
 
Thread Tools Search this Thread Display Modes
Old 04-17-2006, 06:16 PM   #1
sandyrivers
yeah yeah yeah
 
sandyrivers's Avatar
 
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
sandyrivers is offline   Reply With Quote
Old 04-17-2006, 06:34 PM   #2
CharleyParker
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)
CharleyParker is offline   Reply With Quote
Old 04-18-2006, 11:16 AM   #3
sandyrivers
yeah yeah yeah
 
sandyrivers's Avatar
 
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
sandyrivers is offline   Reply With Quote
Reply

Go Back   Flash Kit Community Forums > Flash Help > Flash Newbies

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:00 PM.


internet.commerce
Be a Commerce Partner
 »  »  »  »  »  »  »
 »  »  »  »  »  »
 

    

Acceptable Use Policy


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.