?
Solved

Changing the order of movieclips

Posted on 2003-11-11
3
Medium Priority
?
209 Views
Last Modified: 2010-04-03
Ok, i have this movieclip which is behind another movieclip, and i want to be able to dynamically change the order of the clips, like be able to move one clip in front of the other, then put the other one back on top.. any ideas how do to do that dynamically in actionscript? (and i mean dynamically, like with a button, or on an event)
thanks, cajonees
0
Comment
Question by:Cajones
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 27

Accepted Solution

by:
negatyve earned 1000 total points
ID: 9726645
on(release){
            movieclip1.swapDepths(movieclip2);
}

changes the depth order of the two movieclips
0
 
LVL 27

Expert Comment

by:negatyve
ID: 9726693
0
 
LVL 1

Author Comment

by:Cajones
ID: 9726741
excellent, you are my hero, thanks alot!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question