# Error #1034 when importing an external swf

**URL:** <https://forum.kirupa.com/t/error-1034-when-importing-an-external-swf/298161>\
**Category:** Uncategorized\
**Created:** [October 14, 2009, 4:43pm UTC](https://forum.kirupa.com/t/error-1034-when-importing-an-external-swf/298161 "2009-10-14T16:43:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![J\_Mo](https://avatars.discourse-cdn.com/v4/letter/j/dc4da7/32.png) [@J\_Mo](https://forum.kirupa.com/u/J_Mo)\
**Post date:** [October 14, 2009, 4:43pm UTC](https://forum.kirupa.com/t/error-1034-when-importing-an-external-swf/298161/1 "2009-10-14T16:43:54Z")

</div>

Hi

I have externally loaded a swf and I get this message:

Error #1034: Type Coercion failed: cannot convert flash.display::MovieClip@1cb847e1 to flash.display.Loader.

Here is the as i have used:

```auto
var imageRequest:URLRequest = new URLRequest("bg.swf"); 
var theClip_mc:Loader = new Loader(); 
theClip_mc.load(imageRequest); 
addChild(theClip_mc);

```

Any ideas how it can be rectified?  
Thanks  
J\_Mo
