Solved

Layer organization

Posted on 2003-11-19
2
210 Views
Last Modified: 2010-05-18
Hello,

What is the way to organize many layers in order that when your mouse is over the first one it becomes on the first plan and when your mouse is over the second one, the first layer become on the backside and the second one on the first plan... and so on fot the remainig layers...
Thanks in advance...
0
Comment
Question by:yotsse
2 Comments
 
LVL 39

Accepted Solution

by:
blue-genie earned 25 total points
ID: 9795579
Hi there. What you're refering to is levels rather than layers. Layers are what's in your timeline and these cannnot be switched at run time, however you can assign various components such as movieclips, buttons etc to various levels and using code you can arrange them according to your own needs.

on (rollOver) {
this.swapDepths(100);
}

the above code is a very simple example, that when the mouse rolls over the movieclip where the code is attached, the movieclip will be sent to level100.

instead of specifying the level, you can also refer to another movieclip, then those 2 movieclips will swap their respective levels.

0
 

Author Comment

by:yotsse
ID: 9809258
Thanks very much... That's what I needed...
0

Featured Post

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

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…
There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to how to record live broadcast.

813 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now