Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Layer organization

Posted on 2003-11-19
2
Medium Priority
?
218 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
[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 Comments
 
LVL 39

Accepted Solution

by:
blue-genie earned 100 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

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…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

670 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