Solved

Layer organization

Posted on 2003-11-19
2
215 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 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 Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

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

This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
The goal of the tutorial is to teach the user how to how to record live broadcast.
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.

636 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