Solved

Changing the order of movieclips

Posted on 2003-11-11
3
207 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 250 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
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 shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…

730 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