Ok, this is confusing.

I have made a button inside a movieclip. I have a applied actionscript to the button. The actionscript has an IF statement which, when true, should take me to a frame on the main timline that i have labeled "window". however, this doesn't work.

basically how can i get a button in a movieclip to take me to somewhere on the main timline?