Solved

'send to back'/'bring to front' related question

Posted on 2002-03-22
2
2,159 Views
Last Modified: 2006-11-17
does anyone know how to force an object (for example, named object1)
to go in the front(or  back) of other object (named object2)? In designtime
this can be done by pressing CTRL+arrow down (CTRL+arrow up) or from menu :
"Modify/Arrange/Bring to front" (Modify/Arrange/Send to back). i want to make
this action when button is pressed. therefor i think ActionScript cant be avoided.
Am I right? Is this possible? How?

Thanks in advance.
0
Comment
Question by:kzdown
  • 2
2 Comments
 

Expert Comment

by:LOBO
ID: 6893323
This is how I would do it and it is very simple.

When the movie is stopped the object1 is behind the Object 2 on separate layers.

When the button is clicked the movie moves to the next frame and stops.

On this frame the two layers have new keyframes where object 1 is now on the layer above Object 2.

In other words they have swapped layers. The only actionscript  used is your regular go to next frame and stop.
0
 

Accepted Solution

by:
LOBO earned 42 total points
ID: 6893334
This is how I would do it and it is very simple.

When the movie is stopped the object1 is behind the Object 2 on separate layers.

When the button is clicked the movie moves to the next frame and stops.

On this frame the two layers have new keyframes where object 1 is now on the layer above Object 2.

In other words they have swapped layers. The only actionscript  used is your regular go to next frame and stop.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
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…
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 use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

762 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

24 Experts available now in Live!

Get 1:1 Help Now