# Transitions between swf with nested Movie clips

**URL:** <https://forum.kirupa.com/t/transitions-between-swf-with-nested-movie-clips/195632>\
**Category:** Uncategorized\
**Created:** [August 2, 2006, 12:45am UTC](https://forum.kirupa.com/t/transitions-between-swf-with-nested-movie-clips/195632 "2006-08-02T00:45:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnnybgood2u84](https://avatars.discourse-cdn.com/v4/letter/j/48db29/32.png) [@johnnybgood2u84](https://forum.kirupa.com/u/johnnybgood2u84)\
**Post date:** [August 2, 2006, 12:45am UTC](https://forum.kirupa.com/t/transitions-between-swf-with-nested-movie-clips/195632/1 "2006-08-02T00:45:00Z")

</div>

in regard to voetsjoeba’s tutorial [http://www.nipi.pri.ee/tutoriaal/tutoriaal.html](http://www.nipi.pri.ee/tutoriaal/tutoriaal.html)  
I have a query, do the swf files which are called up (section 1, 2 etc) have to be on the main timeline, you see I have nested my transitions and animations into MCs and when I cam to run my main movie the swf starts and stays in the midpoint (no transition between them. I read a tutorial on here already which helped with nesting my buttons into a movie clip in my MAIN swf using \_parent instead of \_root but I need help

for instance lets say for the button for graffix.swf i have kept the code as

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

and in the actual graffix.swf for which i put the transition in an MC the code in the last frame is

container.loadMovie(\_root.currMovie+".swf");

there seems to be a broken link somewhere there, I;ve tried everything from changing the container to \_root.container with the buttons and adding the name of my MC to the code ☹

please point me in the right direction …

thank you

regards

johnny b
