# Loading a .swf

**URL:** <https://forum.kirupa.com/t/loading-a-swf/42060>\
**Category:** Uncategorized\
**Created:** [February 4, 2004, 6:11pm UTC](https://forum.kirupa.com/t/loading-a-swf/42060 "2004-02-04T18:11:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![piolovespunk182](https://avatars.discourse-cdn.com/v4/letter/p/c89c15/32.png) [@piolovespunk182](https://forum.kirupa.com/u/piolovespunk182)\
**Post date:** [February 4, 2004, 6:11pm UTC](https://forum.kirupa.com/t/loading-a-swf/42060/1 "2004-02-04T18:11:40Z")

</div>

is there a way to load a .swf file into a movie and position it using x and y coordinates? ive tried using loadMovie and getURL but all i get is errors. please lemme know, thanks

---

<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:** [February 4, 2004, 6:39pm UTC](https://forum.kirupa.com/t/loading-a-swf/42060/2 "2004-02-04T18:39:50Z")

</div>

It’s easiest if you have a container clip on your main stage. Create an empty movie clip, drag it to the stage where you want the external swf to load and give the empty clip a name like ‘holder’ or ‘container’. Then you can use loadMovie like for instance, using a buttton to load the external swf you could use this code on the button:  
[AS]  
on(release){  
holder.loadMovie(“externalMovie.swf”);  
}  
[/AS]

p.s. the external swf loads from the top left corner so you have to think about that when you put the blank mc on your stage.

---

<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:** [February 5, 2004, 2:42am UTC](https://forum.kirupa.com/t/loading-a-swf/42060/3 "2004-02-05T02:42:27Z")

</div>

alright ill try it out, thanks
