Skip to main content
Inspiring
September 28, 2006
Question

Swap MovieClips

  • September 28, 2006
  • 1 reply
  • 3432 views
Scenario: I have 3 pictures (MC) that I would like to have played one on top of the other.
My problem is that when the last MC is played, the first one appears abruptly, rather than appearing on top of the last MC played.

Which is the script to have the first MC play one on top of the last, constantly?
This topic has been closed for replies.

1 reply

Inspiring
September 28, 2006
GellyBean,

> Scenario: I have 3 pictures (MC) that I would like to have
> played one on top of the other.

Okay.

> My problem is that when the last MC is played, the first one
> appears abruptly, rather than appearing on top of the last
> MC played.

I'm not sure what you mean by "abruptly" in this context, I guess. Are
you talking about an issue with which image is on top? Abruptly could be
interpreted as "suddenly," which doesn't intrinsically have anything to do
with layering -- see what I mean? Just trying to understand. :)

> Which is the script to have the first MC play one on top of
> the last, constantly?

Well, there's a method of the MovieClip class called
MovieClip.swapDepths(). That seems to match the subject line of your post.
Is that what you're after?


David Stiller
Adobe Community Expert
Dev blog, http://www.quip.net/blog/
"Luck is the residue of good design."


GellyBeanAuthor
Inspiring
September 28, 2006
Mr Stiller,

quote:

Well, there's a method of the MovieClip class called
MovieClip.swapDepths(). That seems to match the subject line of your post.
Is that what you're after?



I think that's exactly what I want. I would like to put those 3+ pictures (wiht effect) in one MC and swap each one on top of the other.