# Load external image

**URL:** <https://forum.kirupa.com/t/load-external-image/303043>\
**Category:** Uncategorized\
**Created:** [January 12, 2010, 9:51pm UTC](https://forum.kirupa.com/t/load-external-image/303043 "2010-01-12T21:51:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![inconceivable](https://avatars.discourse-cdn.com/v4/letter/i/a87d85/32.png) [@inconceivable](https://forum.kirupa.com/u/inconceivable)\
**Post date:** [January 12, 2010, 9:51pm UTC](https://forum.kirupa.com/t/load-external-image/303043/1 "2010-01-12T21:51:49Z")

</div>

I have a flash file where a button loads a movie clip with he following code:

_on (rollover) {  
this.attachMovie(“proj\_1\_1\_mc”, “window”, 1);  
window.\_x = 100;  
window.y = 100;  
unloadMovie("proj");  
}_

How do i modify this so that the proj\_1\_1\_mc movieclip loads an external image instead of putting it in the flash file and thus bloating the .swf file?

thx
