Conditional statement help!

i’m trying to add simple rollover rollout animations to my gallery page but i have a problem

my thumbnails are animated (for example they slide into the page) then on the last frame of that animation is a 2nd movie clip in which the rollover_rollout animations lay

here is my code:

function over(){
this.gotoAndPlay(“over”);
}
function out(){
this.gotoAndPlay(“out”);
}

this.winter_mc.onRollOver = function(){
this.gotoAndPlay(“over”);
}
this.winter_mc.onRollOut = function(){
this.gotoAndPlay(“out”);
}

However, someone named junkerjorg was kind enough to look at my FLA file and to tell me me that I need a conditional statement to check if my first animation file was done playing bc the AS is on the first frame of my main timeline the rolloverout animations aren’t working

I really need to get this working but I know nothing about conditional statements- if anyone could be so kind enough to help me write one god id be so thankful

The file can be accessed at www.creclooart.com/justin/gallery.fla
u will be saving my life NO joke