Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 712833
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T04:53:33+00:00 2026-05-14T04:53:33+00:00

I want to do a effect like the switching windows from Win 7 [Win]+[Tab]

  • 0

I want to do a effect like the switching windows from Win 7 [Win]+[Tab] keys pressed.
I created two “windows” (movie clips) and when I click on the 1st it displays on top of the other, but the problem is when I click on the 2nd I can see the 1st one displayed in it. Is there any way that i put a movie clip on top of the other.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T04:53:34+00:00Added an answer on May 14, 2026 at 4:53 am

    If you’re using AS2, you can use the MovieClip.swapDepths() method to move one clip in front of the other. The clips will need some solid fill, though, otherwise you’ll see right through them!

    For example:

    //Make two clips:
    this.createEmptyMovieClip("clip1", 1);
    this.createEmptyMovieClip("clip2", 2);
    
    //Draw a coloured rectangle in each:
    drawRect(clip1, 0xFF0000);
    clip1._x = 50;
    clip1._y = 50;
    drawRect(clip2, 0x0000FF);
    
    //Add a mouseclick handler
    //(you could change this to a keypress handler)
    clip1.onRelease = function() {
        //SWAP THE DEPTHS OF TWO CLIPS:
        clip1.swapDepths(clip2);
    };
    
    clip2.onRelease = function() {
        clip2.swapDepths(clip1);
    };
    
    function drawRect(mc, colour) {
        mc.beginFill(colour);
        mc.moveTo(100, 100);
        mc.lineTo(100, 200);
        mc.lineTo(200, 200);
        mc.lineTo(200, 100);
        mc.lineTo(100, 100);
        mc.endFill();
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an image, And I want to create an effect like Windows 8
i want to make typewriter effect like: http://img139.imageshack.us/img139/9775/screenshot0002mm2.gif dim s as string = 123
I have ItemsControl with DataTemplate that looks like this: I want to achieve effect
I want a UIView with a glowing or pulsing effect, like the status bar
i want to learn about the page flip effect like this one http://www.20thingsilearned.com/en-US Is
I want to make an effect like what you see on the right side
I want to create an effect like in facebook when you have opened a
I want to make a book page scrolling effect like the picture below. This
I'm new to game programming..What I want to achieve is an effect like bubbles
I want to produce same effect like 2 text layerImage

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.