_root

[color=black][font=Arial]I have 2 pictures on my index page with a rollover animation on top of each different picture. The link of the picture on the left is supposed to take the user to the web design page and the link on the right to take the user to the graphic design page. I created the animation to put on the top of both pictures and that’s when the problem comes. When I click in any of the 2 pictures it takes me to the same link instead of either web design or graphic design page.[/font][/color]

[color=black][font=Arial] [/font][/color]

[color=black][font=Arial]This is the code I am using, and when I change to one, it changes to both and it makes me frustrated.[/font][/color]

[color=black][font=Arial]How can I fix this? I dragged the animation I created from the library because I want to use along the site with other different pictures, but I am stuck here[/font][/color]

[color=black][font=Arial] [/font][/color]

[color=black][font=Arial]on (rollOver) {
gotoAndPlay(4);
}
on (rollOut) {
gotoAndPlay(11);
}
on (release) {
_root.link = 4;
_root.play();
}[/font][/color]

I’m assuming that “gotoAndPlay(4);” and “gotoAndPlay(11);” are frames on the pictures. If they are movie clips, then it will work, but if they are graphics then it wont. If you want it to stop on a frame, just type “gotoAndStop(framenumber);”. If “_root.play();” is playing an animation, then you may want to put that animation in a movie clip that doesn’t loop and just put it on one frame. Then put “_root.gotoAndStop(framenumber);” to make it goto that frame. If there is no animation, then you still do “_root.gotoAndStop(framenumber);” to go to the desired frame. Exempli Gratcia: If your grapic design page frame number is 2. Then for the picture that takes you there, you type “_root.gotoAndStop(2);” in the “on(release)” code on that picture or button.

Post Script: If this doesn’t help, upload your fla, and I’ll try to fix it for you and tell you what I did.