Solved

Layer organization

Posted on 2003-11-19
2
206 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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

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,…
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…
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 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.

706 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

21 Experts available now in Live!

Get 1:1 Help Now