If/Else statment help!

so , ive been pulling out my hair now since saturday! essentially, when a button is clicked, i want my file to play a different animation depending on what MovieClip is loaded on the screen. currently on each button i have this code, just calling 2 clips at the moment, (there’s four total)


on (release) {
_root.me.you.us.gotoAndPlay(31);
_root.me.you.gotoAndPlay(90);
this.onEnterFrame = function() {
if (_root.me.you._currentframe == 102) {
_root.sat.gotoAndPlay(2);
}
else if (_root.me.you._currentframe == 128) {
_root.troll_ani.gotoAndPlay(2);
}
loadMovie(“main_portal.swf”, 3);
}
}


i know how dirty the code is and im sorry, but here is the breakdown (when you transition from “insentives” to “Main Portal” (2 pages within my file) eventually to become any page to “Main Portal”)

_root.me.you.us.gotoAndPlay(31); – loads the "wecome to sabrina hunter’s official website, and Freezing fire text.

_root.me.you.gotoAndPlay(90); – loads the image on the screen at frame 90 withing the instance _root.me.you

—now here’s where i’m lost—

this.onEnterFrame = function() {
if (_root.me.you._currentframe == 102) {
_root.sat.gotoAndPlay(2);
}
else if (_root.me.you._currentframe == 128) {
_root.troll_ani.gotoAndPlay(2);
}
loadMovie(“main_portal.swf”, 3);
}
}

—this in theroy should load the specific animation that i want, no? When migrating from "incentives to Main Portal is where the trouble is, the initial function

                 this.onEnterFrame = function() {
                if (_root.me.you._currentframe == 102) {
    _root.sat.gotoAndPlay(2);
	}

works EXACTLY the way i want it to, the fire bursts as you go to the next page, which again is right, its the next part of my if/else that is troubling me.

else if (_root.me.you._currentframe == 128) {
_root.troll_ani.gotoAndPlay(2);
}

this should be playing an animation for the troll on the Incentives page, but what IS happening is nothing, until i go back to the incentives page, both the animations load.

i hope have i’ve been clear. im LITERALLY frying my brain searching for troubleshooting ideas, and fixes, or even alternate function to load animations at a specific point. and i cannot find any.
i also should mention this is in AS2 with cs5.5 professional edition.

if you visit www.sabrina-hunter.com the website is the file im mentioning in this post. it is the step i am at just before this post so every page transition will shoot flames.

Cheer my friends, i hope i have been clear
-Jordan M. Staples