# FMX - Why movies images or swf loaded

**URL:** <https://forum.kirupa.com/t/fmx-why-movies-images-or-swf-loaded/25831>\
**Category:** flash\
**Created:** [July 16, 2003, 9:32pm UTC](https://forum.kirupa.com/t/fmx-why-movies-images-or-swf-loaded/25831 "2003-07-16T21:32:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jagunco](https://avatars.discourse-cdn.com/v4/letter/j/67e7ee/32.png) [@jagunco](https://forum.kirupa.com/u/jagunco)\
**Post date:** [July 16, 2003, 9:32pm UTC](https://forum.kirupa.com/t/fmx-why-movies-images-or-swf-loaded/25831/1 "2003-07-16T21:32:49Z")

</div>

Can someone tell me why images or swf loaded dynamically to an empty MC can´t assume button events.

I´m tring to build mc that load images or swf whit a preloader, but when it loads I can´t put a button event on this mc.

Please can someone explain this to me

thanks

jagunço BOY

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 17, 2003, 12:49am UTC](https://forum.kirupa.com/t/fmx-why-movies-images-or-swf-loaded/25831/2 "2003-07-17T00:49:48Z")

</div>

olá,

you can only add new methods and/or properties after the new movie/jpg finishes loading because the methods and properties of the target movie clip are deleted by the loadMovie()

so, you can preload the file and only then, assign the onRelease() or whatever to the movie clip.

a workaround, is using another movie clip, i.e.,  
target\_mc is is inside some\_mc:

```auto

some_mc.target_mc.loadMovie("external.swf");
some_mc.onRelease = function(){
 //do something
};

```

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 17, 2003, 1:09am UTC](https://forum.kirupa.com/t/fmx-why-movies-images-or-swf-loaded/25831/3 "2003-07-17T01:09:35Z")

</div>

[http://www.kirupaforum.com/forums/showthread.php?s=&threadid=27009](http://www.kirupaforum.com/forums/showthread.php?s=&threadid=27009)
