# How to transition out

**URL:** <https://forum.kirupa.com/t/how-to-transition-out/255966>\
**Category:** Uncategorized\
**Created:** [March 28, 2008, 4:57pm UTC](https://forum.kirupa.com/t/how-to-transition-out/255966 "2008-03-28T16:57:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pungen](https://avatars.discourse-cdn.com/v4/letter/p/41988e/32.png) [@pungen](https://forum.kirupa.com/u/pungen)\
**Post date:** [March 28, 2008, 4:57pm UTC](https://forum.kirupa.com/t/how-to-transition-out/255966/1 "2008-03-28T16:57:05Z")

</div>

Hi All

I found the tutorial here on how to make page transitions. I understand how to make my content do neat things coming IN to the screen but how do I make it do neat things on its way out? I can’t seem to find the code for this but I think it must be pretty simple.

This is the code I’ve got on each button at the moment -

on (rollOver) {  
\_root.mouse\_over\_contact\_mc = true;  
}

on (rollOut) {  
\_root.mouse\_over\_contact\_mc = fstartlse;  
}

on (release){  
sections.gotoAndPlay(“contact”);  
}

Here is the link to what I’ve got thus far minus any page transitions [http://preview.roanoke.com/proof/partymachine2.html](http://preview.roanoke.com/proof/partymachine2.html) Any help is much appreciated! Thanks
