# External SWF's not animating in Flash and not even loading on server

**URL:** https://forum.kirupa.com/t/external-swfs-not-animating-in-flash-and-not-even-loading-on-server/211954
**Category:** Uncategorized
**Created:** [January 6, 2007, 10:16pm UTC](https://forum.kirupa.com/t/external-swfs-not-animating-in-flash-and-not-even-loading-on-server/211954 "2007-01-06T22:16:30Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![BoogWeed](https://avatars.discourse-cdn.com/v4/letter/b/dfb087/32.png) [@BoogWeed](https://forum.kirupa.com/u/BoogWeed)
#### Post date: [January 6, 2007, 10:16pm UTC](https://forum.kirupa.com/t/external-swfs-not-animating-in-flash-and-not-even-loading-on-server/211954/1 "2007-01-06T22:16:30Z")

</div>

Hello all,

I have a main SWF and am loading external SWFs to act as different “pages” using the following AS:  
[INDENT]_stop ();_  
_loadMovie(“Gallery.swf”, “Placeholder\_mc”);_  
[/INDENT]where obviously, Gallery.swf is the external SWF and Placeholder\_mc is where it will be loaded.

When I test the movie in Flash the Gallery “page” (the gallery page is the [http://www.kirupa.com/developer/mx2004/thumbnails.htm](http://www.kirupa.com/developer/mx2004/thumbnails.htm) tutorial) loads ok and the thumbnails fade in and out on roll over and the button rollovers work fine but it does not scroll (when I play the Gallery.swf alone it works fine) and when I upload to the server to test it there, the external SWFs do not even load. :puzzle:

Each of the External SWFs have a preloader with the following AS:  
[INDENT]_stop();  
loadingBar.\_xscale = 1;  
var loadingCall:Number = setInterval(preloadSite, 50);  
function preloadSite():Void  
{  
var siteLoaded:Number = \_root.getBytesLoaded();  
var siteTotal:Number = \_root.getBytesTotal();  
var percentage:Number = Math.round(siteLoaded/siteTotal_100);  
loadingBar.\_xscale = percentage;  
percentClip.percentDisplay.text = percentage+"%";  
percentClip.\_x = loadingBar.\_x+loadingBar.\_width;  
bytesDisplay.text = “loaded “+siteLoaded+” of “+siteTotal+” bytes”;  
if (siteLoaded\>=siteTotal) {  
clearInterval(loadingCall);  
gotoAndStop(10);  
}  
}\*  
[/INDENT]The content for the thumbnail gallery starts on frame 10 of the Gallery.swf

Where am I going wrong?

Please forgive me if this a rather trivial problem, but I am trying to learn…

Thank you for any help. 🙂
