# Problems with AS i think...?

**URL:** <https://forum.kirupa.com/t/problems-with-as-i-think/123505>\
**Category:** Uncategorized\
**Created:** [September 24, 2004, 8:41am UTC](https://forum.kirupa.com/t/problems-with-as-i-think/123505 "2004-09-24T08:41:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![imbuez](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/imbuez/32/645_2.png) [@imbuez](https://forum.kirupa.com/u/imbuez)\
**Post date:** [September 24, 2004, 8:41am UTC](https://forum.kirupa.com/t/problems-with-as-i-think/123505/1 "2004-09-24T08:41:13Z")

</div>

Hi peeps  
Could someone please take a look at my actionscript. Im having trouble loading another movie into an empty MC.

```auto
 
_root.menu.home_btn.onRelease = function() {
if (_root.currMovie == undefined) {
_root.currMovie = "home";
_root.empty.loadMovie("home.swf");
} else if (_root.currMovie != "home") {
if (_root.empty._currentframe>=empty.midframe) {
_root.currMovie = "home";
_root.empty.play();
}
}
};
_root.menu.private_btn.onRelease = function() {
if (_root.currMovie == undefined) {
_root.currMovie = "private";
_root.empty.loadMovie("private.swf");
} else if (_root.currMovie != "private") {
if (_root.empty._currentframe>=empty.midframe) {
_root.currMovie = "private";
_root.empty.play();
}
}
};

```

This is fine as i have used this script before on a prevoius website i have made. Its just doesnt want to work today! ☹

[http://www.propcomm.co.uk/kirupa/template.zip](http://www.propcomm.co.uk/kirupa/template.zip)

The problems seems to be it loads a movie in and can load a movie out but struggles to load the next movie … im i making sense?

I will post a link to my fla here, aleways makethings alittle clearer!  
Thanks for any feedback in advance
