Basically, I will have still thumbnails and when you click on one of them, a larger version pops up by way of an animated fade in and when you click on the larger image, it fades out to reveal the thumbnails. I tried out various action scrips and they do not seem to be working for me. Here is what I have done.
I have a thumbnail in which i converted it as a button. Then I converted the larger version (a jpg) of the thumbnail into a movie clip. Within that movie clip I converted the jpg into a movie clip so I could create a motion tween of the fade by adjusting the alpha. The fade consist of 11 frames, with frame 1 being a blank key frame, frame 2 having an alpha of 0, frame 6 with 100% alpha, and frame 11 with and alpha of 0. In frames 1 and 6, i typed in the action script of
stop();
I went back to my timeline that contained the button. Gave the button an instance name 1btn. I also gave the movie clip of the larger image an instance name of 1big. I created a new layer above the button layer and called it script. I then typed in this code on there:
1btn.onRelease = function() {
_root.1big.gotoAndPlay(2);
_root.1big.swapDepths(2);
}
Clicked on the movie clip of the larger image and did this actionscript:
on (release){
this.gotoAndPlay(7);
}
That way, when you click the larger image, it will fade out.
Now, I tested the movie, clicked on the thumbnail and nothing happens. I have been pulling my hair and can not figure out what is wrong. I am no flash guru on building websites, so if you could help me out I would be grateful!!!