Hello! I’m working in a photogallery inside a mc (ex. movie>menu>gallery). There are 6 thumbnails in this gallery and I would need this: clicking on a tb i would open the bigger image in a mc in the root with alpha effect (fade in).
I started using this code:
this.thumb1.onRelease = function() {
_root.contenitore._alpha = 0;
_root.contenitore.loadMovie("immagine1.jpg");
onEnterFrame = function () {
if (_root.contenitore._alpha<100) {
_root. contenitore._alpha += 8;
} else {
delete this.onEnterFrame;
}
}
}
The first click works fine but the crossfade between images is impossible because my mc container has set to _alpha = 0 after the first click.
Any suggestions?