# ActionScript Help

**URL:** <https://forum.kirupa.com/t/actionscript-help/145220>\
**Category:** Uncategorized\
**Created:** [April 20, 2005, 9:54pm UTC](https://forum.kirupa.com/t/actionscript-help/145220 "2005-04-20T21:54:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![VersusMG](https://avatars.discourse-cdn.com/v4/letter/v/898d66/32.png) [@VersusMG](https://forum.kirupa.com/u/VersusMG)\
**Post date:** [April 20, 2005, 9:54pm UTC](https://forum.kirupa.com/t/actionscript-help/145220/1 "2005-04-20T21:54:05Z")

</div>

I am working on the tutorial for using external swf files and in the tutorial it says to use buttons and gives you the code

```auto

 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();
}
}
}

```

My problem is that i am using movie clips instead of buttons for my navigation, i have tried switching the

```auto

on(release)

```

to

```auto

onClipEvent(mouseDown)

```

but it doesn’t work.

If someone can help me with this i would really appricate it.

Thanks  
Seth
