Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

swapDepth

Status
Not open for further replies.

bobetko

Programmer
Jan 14, 2003
155
US
I have two MCs on the same level, on the _root.
I am tryin to swap their depths.

Code:
_root.mc1.swapDepth("_root.mc2");

The code doesn't work.
Here is few details about my MCs:
- mc2 is clone of mc1. (new instance)
- I dynamically load content (jpg) into MC positioned behind, then, I try to swap them.
Do dynamic loading or something else block swap command?
Does anybody have an idea why this doesn't work?

Thanks
 
should be swapDepths (with an s) :)

Hope it helps.

Wow JT that almost looked like you knew what you were doing!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top