-
changing the order of symbols?
i have 3 symbols on 1 layer.... and they expand when you click on one of them.... the thing is... the order of them is messing the movie up.... did i read something somewhere about getDepth(); ? or changeDepth ?
thanks in advance
-
Moderator
-
I think you want swapdepths, syntax is as follows:
myMovieClip.swapDepths(depth)
or
myMovieClip.swapDepths(target)
You can look it up in the help files
-
i suppose it's similar to CSS's Z-INDEX ? the greater the number, the closer the symbol to the screen right?
-
yup -its something like that. what you should do, is on mouseover, swap the depth of that object to a higher number than the other two, so its always on top. on rollout, releaseoutside return the depth values. do the same for the other two butons and it should be fine
sid
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
|