Sorry to ask what may be obvious but I can't get this to work.

I have an if statement that works great if I place it on a button On press

However I want that same satement in the last frame of a movieclip to direct the next action.

It seems like if statements are ignored unless attached to an event - is that true?

What am I doing wrong?

Thank you.