-
level what? level who? what da *%#!!!!
having a little problemo
I have two different movie clips on my main stage.
instance names:
NAVMOVBOT
NAVMOVTOP
On each clip I have these actions.......
onClipEvent (mouseDown) {
this.swapDepths("_root.NAVMOVTOP");
}
And.....
onClipEvent (mouseDown) {
this.swapDepths("_root.NAVMOVBOT");
}
Now why in the neverending world will this not work?
Any suggestions?
If so, you will get a happy face for the day.
-thanx
www.p2studios.com
-
Well...unless you set the clips to a depth initially with swapDepths, there isn't a depth to swap with.
www.electricbluemonkey.com
-
-
You don't have to set a clip's level in order to swapdepth, all clips have depth based on their arrangement on the stage.
I think it's because you're trying to use a mouseDown event on a movieclip that you're getting nothing to happen
Here's an example with one line of code moved onto a button.
code:
on(press){
_root.navmovbot.swapDepths(_root.navmovtop);
}
press the square to swap the depths of the circles.
Likewise, you can add a button on top of your circular movieclips to do the same thing.
-
thanks alot!
sorry for the newby inconvenience
-p2studios
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
|