# Midframe transitions

**URL:** https://forum.kirupa.com/t/midframe-transitions/232331
**Category:** Uncategorized
**Created:** [July 12, 2007, 9:52pm UTC](https://forum.kirupa.com/t/midframe-transitions/232331 "2007-07-12T21:52:35Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![carbone6](https://avatars.discourse-cdn.com/v4/letter/c/41988e/32.png) [@carbone6](https://forum.kirupa.com/u/carbone6)
#### Post date: [July 12, 2007, 9:52pm UTC](https://forum.kirupa.com/t/midframe-transitions/232331/1 "2007-07-12T21:52:35Z")

</div>

Hi i’m using this tutorial to have transitions between external swf’s:  
[http://www.kirupa.com/developer/mx2004/transitions.htm](http://www.kirupa.com/developer/mx2004/transitions.htm)

The only problem is it only allows you to have 1 frame inbetween the intro and outro transition.

I was hoping i could have more frames in between the transitions and possibly tell it to go to a frame label which is at the beginning of the outro when the outro is to be played.

Here is the code for the button:

this.onRelease = function() {  
if (\_root.currMovie == undefined) {  
\_root.currMovie = “services”;  
\_root.container.loadMovie(“services.swf”);  
} else if (\_root.currMovie != “services”) {  
if (container.\_currentframe\>= \_root.container.midframe) {  
\_root.currMovie = “services”;  
\_root.container.play();  
}  
}  
}
