Hello
I’ve got some problems with my project
** 1st problem **( Actions are correct but menu doesn’t work )
** I’ve got 4 buttons each contains action :
** 1st
on (press)
{gotoAndPlay(“1”,“1”);
}
2nd
on (press)
{gotoAndPlay(“2”,“1”);
}
3rd
on (press)
{gotoAndPlay(“3”,“1”);
}
4th
on (press)
{gotoAndPlay(“4”,“1”);
}
**
2nd problem **- Scene 4 gallery ( something wrong with position of pic when new pic is loaded i see a bit of prev pic )
ACTIONS
this.createEmptyMovieClip(“images” , 100);
this.attachMovie (“mask”, “mask” , 101);
mask._x = images._x =498.8;
mask._y = target = 256.9;
images._y = -1000;
images.setMask(mask);
speed = 5;
for (var i = 0; i<50; i++ ){
var img = images.attachMovie(“image”+i, “image”+i, i);
img._y = img._heighti;
var thumb = this[“thumb”+i];
thumb._alpha = 60;
thumb.pos = target+(i-img._height);
thumb.onPress = function() {
target = this.pos;
};
thumb.onRollOver = function() {
this._alpha = 100;
};
thumb.onRollOut = function() {
this._alpha = 60;
};
}
this.onEnterFrame = function() {
images._y += (target-images._y)/speed;
};