Getting a tiled image to appear above others. (MX2004)
Sorry I forgot to press MX2004
Hi,
I have developed the attached site as a practise exercise. It basically consists of a wall of tiled identical images.
What I would like to have happen is, as a user rolls over an image it’s _xscale & _yscale go up to 150 & (the bit I’m having the problems with) it appears above all the other images on the wall.
I am really at a loss as to how to achieve this & would be grateful for any help.
A slightly amended script as it currently stands is set out below & the fla is attached.
code:
depth = 100;
for (i=0; i<5; ++i) {
for (j=0; j<10; ++j) {
this.wall_mc.attachMovie("cat", "cat"+depth, ++depth);
thisCat = _root.wall_mc["cat"+depth];
thisCat.onRollOver = function() {
my_sound.start();
this._xscale = this._yscale=150;
};
thisCat.onRollOut = function() {
this._xscale = this._yscale=100;
};
thisCat._x = 40*j;
thisCat._y = 40*i;
}