The forums have permanently moved to This forum will be kept around in read-only mode for archival purposes. To learn how to continue using your existing account on the new forums, check out this thread.

Results 1 to 5 of 5

Thread: Swap depth in flash

  1. #1

    Afrostyle Swap depth in flash

    Hi i have a file where 16 movie clips. i need to drag and drop ecah of everyone. But the problem is when i drag it's not coming infront of all clips. I need when i will drag a clip it become infront of all clips. Could you help to to do this plzzzzzzzzzzzz.

  2. #2
    it depends on how the rest of your code work but in this case you can do


    I need a SPRITER who can do pixel arts for an arcade fighter project. If you can help out, please pm me.
    I also need someone who can write simple xml files.

  3. #3
    Quote Originally Posted by bluemagica View Post
    it depends on how the rest of your code work but in this case you can do

    // AS2
    this.onPress = function ()
    you = function(){
    setEnabled( true );
    setEnabled( false );

  4. #4
    Thanks, It's working now.

  5. #5

    Afrostyle Dynamically Created Movie Clips on stage

    Incase anyone is looking to apply this effect to dynamically created movie clips put out on the stage, here is an example. It will bring any mc that is selected to the very top.

    for (var i:Number = 0; i < 5; i++) {
    //attachMovie without a target mc will put these on the stage
    attachMovie("box_mc", "newBox"+(i+1), i, {_xPos, _y:yPos});

    _root["newBox"+(i+1)].onPress = function() {
    //THIS being the selected mc, and root targeting the main stage

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Home About Meet the Moderators Advertise

 Link to Us


Copyright 1999 - 2012