PDA

View Full Version : Anyone good with Macromedia Flash?



Don Tomas
01-12-2008, 02:54 AM
I am so close to finishing the home page.

I wanted to make a lightbox effect for the small picture gallery section. I found some code and it works great for one picture, but not the others.

The AS2 code is:

on (release) {
this.attachMovie("popphoto1", "window", 0);
window._x = 250;
window._y = 150;
}


Of course popphoto1 is the movie clip to load the large picture in a box with a close button.

I figured I could just go down the line with popphoto2, 3, 4, etc. but it doesn't work.

Any ideas?

PS. I am willing to do it differently since the only thing left to do is the picture gallery lightbox effect.