# External swf loading into target movieclip loading problem

**URL:** <https://forum.kirupa.com/t/external-swf-loading-into-target-movieclip-loading-problem/145159>\
**Category:** Uncategorized\
**Created:** [April 20, 2005, 10:59am UTC](https://forum.kirupa.com/t/external-swf-loading-into-target-movieclip-loading-problem/145159 "2005-04-20T10:59:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JamieMX](https://avatars.discourse-cdn.com/v4/letter/j/9de0a6/32.png) [@JamieMX](https://forum.kirupa.com/u/JamieMX)\
**Post date:** [April 20, 2005, 10:59am UTC](https://forum.kirupa.com/t/external-swf-loading-into-target-movieclip-loading-problem/145159/1 "2005-04-20T10:59:01Z")

</div>

Hi Everyone,

Can someone please help me…

I’m trying to load a SWF movie into a target movieclip called ‘blankmc’.

The SWF movie is loaded from an absolute URL (eg. [http://www.somedomain.net/img/20042005113934movie3.swf](http://www.somedomain.net/img/20042005113934movie3.swf) )

My Loading Progress code fails to detect the SWF file size. However the same code works perfectly for a JPG!

Essentially the .getBytesLoaded() and .getBytesTotal fail to work. Why is this and how can I get it to work for loading SWFs?

//EXAMPLE CODE:

loadMovie( URL ,“blankmc”);  
blankmc.getBytesLoaded() ;  
blankmc.getBytesTotal() ;

//This works with JPGs but not SWFs

Thanks in advance!  
J

ps. i am using Flash MX
