I have the following code…
scrollFace.onEnterFrame = function() {
if (scrollFace._y < 22.2){
_root.gotoAndStop(1);
} else if (scrollFace._y > 22.2){
_root.gotoAndStop(2);
} else if (scrollFace._y > 44.4){
_root.gotoAndStop(3);
}
};
Which only works fine up to line 5.
Only the first if and the first else if are working,
so I can go back and forth between frame 1 and 2
with no problems, but it never goes to frame 3, and I
need to add about 7 more else if statements but
dont know what the problem is.
You can download the file here in case I didnt make myself clear.
thanks!