Hi all,
I’m loading jpg images into my main timeline using AS. The problem is that only one image is displaying at a time. I’ve played with different depth levels, but that doesn’t seem to do it.
Here’a the AS I’m using:
_root.createEmptyMovieClip(“container4”,1);
container4.loadMovie(“photos/small1.jpg”);
container4._x = 270;
container4._y = 0;
container4._alpha = 0;
onEnterFrame = function () {
if (container4._alpha<100) {
container4._alpha += _global.fadespeed;
}
};
Here’s the code that I use to create the second clip. This occurs in its own frame at the same point in the timeline:
_root.createEmptyMovieClip(“container5”,2);
container5.loadMovie(“photos/small2.jpg”);
container5._x = 360;
container5._y = 0;
container5._alpha = 0;
onEnterFrame = function () {
if (container5._alpha<100) {
container5._alpha += _global.fadespeed;
}
};
Any help would be appreciated.