# ActionScript Change On Transitions Tutorial

**URL:** https://forum.kirupa.com/t/actionscript-change-on-transitions-tutorial/227641
**Category:** flash
**Created:** [May 31, 2007, 10:22pm UTC](https://forum.kirupa.com/t/actionscript-change-on-transitions-tutorial/227641 "2007-05-31T22:22:03Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![macmar](https://avatars.discourse-cdn.com/v4/letter/m/7c8e57/32.png) [@macmar](https://forum.kirupa.com/u/macmar)
#### Post date: [May 31, 2007, 10:22pm UTC](https://forum.kirupa.com/t/actionscript-change-on-transitions-tutorial/227641/1 "2007-05-31T22:22:03Z")

</div>

In the tutorial Transitions Between External SWFs-- [http://www.kirupa.com/developer/mx2004/transitions.htm](http://www.kirupa.com/developer/mx2004/transitions.htm) --can anyone tell me how to eliminate JUST the horizontal transition that moves the movie in and out so it just loads the movie normally (no midframe, just a container). I believe this is the script that needs to be altered:  
on (release) {  
if (\_root.currMovie == undefined) {  
\_root.currMovie = “work”;  
container.loadMovie(“work.swf”);  
} else if (\_root.currMovie != “work”) {  
if (container.\_currentframe \>= container.midframe) {  
\_root.currMovie = “work”;  
container.play();  
}  
}  
}  
Thanks for any help.
