This content has been marked as final. Show 3 replies
Actually swapDepths can take either a moveclip or a number. That isn't the problem.
The problem is that you put the code directly on a movie clip and not on a timeline. Select the "shape" instance and bring up your Actionscript window. Then click off the shape (and make sure you don't click on anything else except empty stage.) Then select the frame in your timeline where you want the code. You will know it is correct because at the top of the actionscript window it will say Frame. Then paste your code.
>>Actually swapDepths can take either a moveclip or a number. That isn't the
So it can! Sorry, just never used it with anything besides a clip ref, and
even then I really don't use it much as I like to keep track of things
Adobe Community Expert