# Help on Smooth Transitions

**URL:** https://forum.kirupa.com/t/help-on-smooth-transitions/206851
**Category:** flash
**Created:** [November 12, 2006, 7:12am UTC](https://forum.kirupa.com/t/help-on-smooth-transitions/206851 "2006-11-12T07:12:54Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![majide](https://avatars.discourse-cdn.com/v4/letter/m/90db22/32.png) [@majide](https://forum.kirupa.com/u/majide)
#### Post date: [November 12, 2006, 7:12am UTC](https://forum.kirupa.com/t/help-on-smooth-transitions/206851/1 "2006-11-12T07:12:54Z")

</div>

Hello,

I started creating a site using the Smooth Transition tutorial and came upon a problem and would like to ask for some advice. I was able to go through the tutorial without any problems. I than moved my button(s) to an external swf file that gets called. No problem here as well, i just added a \_root. to a few places.

Now in this swf, I have a mc and in this mc i placed the button but it stopped working. I didn’t think the path would be any different but I was wrong. Here is the current AS I have with the button in the external swf’s main timeline:

```php

on (release) {
    if (_root.currMovie == undefined) {
        _root.currMovie = "cat_about";
        _root.container.loadMovie("cat_about.swf");
    } else if (_root.currMovie != "cat_about") {
        if (_root.container._currentframe>= _root.container.midframe) {
            _root.currMovie = "cat_about";
            _root.container.play();
        }
    }
}

```

If anyone can give me some help on what needs to be done to get this button to work when putting it into an mc on this external swf, I would appreciate it very much. Thanks.

Kei
