# Another small problem :)

**URL:** <https://forum.kirupa.com/t/another-small-problem/170560>\
**Category:** flash\
**Created:** [November 27, 2005, 4:04pm UTC](https://forum.kirupa.com/t/another-small-problem/170560 "2005-11-27T16:04:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Samurai](https://avatars.discourse-cdn.com/v4/letter/s/bc79bd/32.png) [@Samurai](https://forum.kirupa.com/u/Samurai)\
**Post date:** [November 27, 2005, 4:04pm UTC](https://forum.kirupa.com/t/another-small-problem/170560/1 "2005-11-27T16:04:17Z")

</div>

Hey people,

```
  I've been posting quite frequently the past week or so. I have a movie clip that is duplicated on the stage a bunch of times, and when you roll over one of them, the movie clip gets bigger and overlaps the other duplicates. My issue is that at the moment, they don't overlap the other duplicates, they under-lap them (is that a word?). How can I get them to, when rolled over, be on top. I think getnexthighestdepth or swap depths could work. here's my code:

```

```auto

    for (var i = 0; i<rows; i++) {
        var thematrix = smile.duplicateMovieClip("smile"+i, i);

        //var images = thematrix.createEmptyMovieClip("image"+i, i);

        var imageHolder = thematrix.image_mc;
        var info = thematrix.txt_mc;
        picHolder = this.firstChild.childNodes*;
        info.txt.text = picHolder.attributes.title;
        imageHolder.loadMovie(picHolder.attributes.thmb);

        //images.loadMovie(picHolder.attributes.thmb, 0);

        thematrix._x = xpos+(wclip+hspace)*(i%columns);
        thematrix._y = ypos+(hclip+vspace)*Math.floor(i/columns);
        thematrix.onRollOver=function(){

            //this.gotoAndPlay(2);
            //thematrix.images._visible = false;
            //_root.swapper += 1000;
            //_root.thematrix*.swapDepths(_root.swapper);

            this.image_mc._xscale += 1000;
            this.image_mc._yscale += 1000;
            this.image_mc.xpos = 1000;
            this.gotoAndPlay(2);
        }
        thematrix.onRollOut=function(){

            //thematrix._xscale -= 20;
            //thematrix._yscale -= 20;
            //this.image._xscale -= 20;
            //this.image._yscale -= 20;

            this.image_mc._xscale -= 1000;
            this.image_mc._yscale -= 1000;
            this.image_mc.xpos -= 1000;
            this.gotoAndPlay(2);

            //this.gotoAndPlay(8);

        }
        thematrix.link = picHolder.attributes.page;
        thematrix.onRelease = function(){
            getURL(this.link, "_blank");
        };
    }
}

```

Thank you very very very much for any help I receive.
