# FMX loadMovie and onMouseDown event

**URL:** https://forum.kirupa.com/t/fmx-loadmovie-and-onmousedown-event/155535
**Category:** flash
**Created:** [July 18, 2005, 6:27pm UTC](https://forum.kirupa.com/t/fmx-loadmovie-and-onmousedown-event/155535 "2005-07-18T18:27:38Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![coreyem](https://avatars.discourse-cdn.com/v4/letter/c/ba9def/32.png) [@coreyem](https://forum.kirupa.com/u/coreyem)
#### Post date: [July 18, 2005, 6:27pm UTC](https://forum.kirupa.com/t/fmx-loadmovie-and-onmousedown-event/155535/1 "2005-07-18T18:27:38Z")

</div>

I’ve got a very simple movie clip that is supposed to load an external .swf into an empty clip that gets created when you click on one of the clip instances on the stage.

```auto

about_mc.onMouseDown = function(){
	_root.createEmptyMovieClip("emailform_mc",this.getNextHighestDepth());
	_root.emailform_mc._lockroot = true;
	_root.emailform_mc.loadMovie("emailform.swf");
	trace(_root.emailform_mc);
}

```

The empty movie clip gets created (I assume), and the .swf gets loaded in, but when you click anywhere on the stage, this code gets executed, basically loading the .swf back in. It’s only supposed to execute when you click on “about\_mc” . What am I missing, besides a brain?  
-C
