-
swapDepths issue
Hi,
I have a number of MCs (7) that I have manually placed on the stage. I have this code on each MC:
code:
on (press) {
_root.objectClip5.swapDepths(3);
with (_root.objectClip5) {
startDrag("_root");
}
}
on (release) {
stopDrag();
}
I cannor get rid of them when the timeline moves to Frame 1. I have tried adding the code below but it doesn't work :
code:
objectClip.swapDepths(10000);
objectClip.removeMovieClip();
Could someone please tell me where I am going wrong?
-
-
half as fun, double the price
in the onPress, try swapping to -1 instead of 3
-
Do you have an example .fla? Or can you explain what exactly you want the MCs to do? Why swap to 3?
I recently did a lot of "swaping business" in my .fla, so I might be able to help, but I can't really get to the point...
-
I actually have the same problem. But mines a bit more complex I think..
Put this in the frame you want the mc to disappear on,
Code:
_root.mc_instance.unloadMovie();
-
thank you but that didn't work either...any other ides?
-
Sorry didn't see greencola's suggestion which works perfectly! Thank you!
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
|