Im working on building a Flash site where i will be loading in external swf’s.
I want to create a navigation mc that contains a map that can be loaded on top of any other loaded swf’s to allow users to chose what mc to load ie, about section, client section etc.
Im fairly new to AS and setting layer depths so im having some difficultly,
hi your question sounds interesting …so i made sample for that. pls check the attached zip file. Actually I did it using swapDepths () method. Just create a function and compare the depths of each movie clip and interchange values. It is roughly made but hopefully you can understand what i did.
This is function used for interchange the values. Plz note that every objects on the stage is dynamically attached.
function exchangeDepth (clip1, clip2, attachClip)
{
_root.holderExternal.loadMovie (attachClip);