# Picture show hide and enlarge , something wrong

**URL:** <https://forum.kirupa.com/t/picture-show-hide-and-enlarge-something-wrong/192286>\
**Category:** Uncategorized\
**Created:** [June 27, 2006, 3:38pm UTC](https://forum.kirupa.com/t/picture-show-hide-and-enlarge-something-wrong/192286 "2006-06-27T15:38:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![albisher](https://avatars.discourse-cdn.com/v4/letter/a/f0a364/32.png) [@albisher](https://forum.kirupa.com/u/albisher)\
**Post date:** [June 27, 2006, 3:38pm UTC](https://forum.kirupa.com/t/picture-show-hide-and-enlarge-something-wrong/192286/1 "2006-06-27T15:38:03Z")

</div>

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

```auto
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");
};

```
