# 2004MX: Swf Transitons

**URL:** https://forum.kirupa.com/t/2004mx-swf-transitons/83785
**Category:** flash
**Created:** [March 22, 2005, 4:56am UTC](https://forum.kirupa.com/t/2004mx-swf-transitons/83785 "2005-03-22T04:56:58Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![ultraloveninja](https://avatars.discourse-cdn.com/v4/letter/u/71e660/32.png) [@ultraloveninja](https://forum.kirupa.com/u/ultraloveninja)
#### Post date: [March 22, 2005, 4:56am UTC](https://forum.kirupa.com/t/2004mx-swf-transitons/83785/1 "2005-03-22T04:56:58Z")

</div>

i’m sure everyone is sick of me asking this, but i’m still confused on these transitions.

but i’ve been working on them for a while now, and i have a question to ask.

if i have movie set up where i have my buttons and my container movie clip in a seperate movie clip, how do i set up my code?

this is what i have on one button:

> 

on (release) {  
if (\_root.currMovie == undefined) {  
\_root.currMovie = “section1”;  
container.loadMovie(“section1.swf”);  
}  
else if (\_root.mc01.currMovie != “section1”) {  
if (container.\_currentframe \>= container.midframe) {  
\_root.currMovie = “section1”;  
container.play();  
}  
}  
}

do i need to change my \_root to the instance of the movie clip???

this is where i’m getting hung up on…i think.

any help is greatly appreciated! 🙂
