# Loaded swf help!

**URL:** <https://forum.kirupa.com/t/loaded-swf-help/194008>\
**Category:** Uncategorized\
**Created:** [July 19, 2006, 9:30pm UTC](https://forum.kirupa.com/t/loaded-swf-help/194008 "2006-07-19T21:30:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![x\_files](https://avatars.discourse-cdn.com/v4/letter/x/eb8c5e/32.png) [@x\_files](https://forum.kirupa.com/u/x_files)\
**Post date:** [July 19, 2006, 9:30pm UTC](https://forum.kirupa.com/t/loaded-swf-help/194008/1 "2006-07-19T21:30:46Z")

</div>

Hello could someone please help.

I have done the kirupa tutorial on transitions

All works fine untill I do something to the loaded swf.

For example if I click a button on the loaded swf the button works but then when I click the button on the main movie to load the next and play the transition the transistion doesnt work.

If I dont do anything to the loaded swf the transitions work!  
Strange!!!

Is it something to do with the paths being changed when the loaded swf is acivated?

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

Then the code at the end of my swf to load the new one is

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

As i said all works fine untill I do something to the loaded swf. The new swf loads fine its just the outro doesnt play.
