Picture show hide and enlarge , something wrong

hi , i am using this action on _root … where i am controlling some movie clips to be shown, hiden pictures that will show if rollover and will hide if rollout.

i was adding the enlarging motion to make it appeare bigger.

i had the proplem that when i press on that b9 button and it goes to “ending” frame where i freez them , but when i need to press on them … flash is consedering it as rollout!!!

i wish i did explain well!!
and there is the code

main.b9.onRollOver = function() {
    main.photos.gotoAndPlay("rollover");
    this.onRollOut = function() {
        main.photos.gotoAndPlay("rollout");
    };
    this.onRelease = function() {
        main.photos.gotoAndPlay("ending");
    };
};

main.photos.pic1.onRelease = function() {
        main.photos.gotoAndPlay("pic1p");
};
main.photos.pic2.onRelease = function() {
        main.photos.gotoAndPlay("pic2p");
};