# Resizing slideshow blowing up - can anyone help me troubleshoot?

**URL:** https://forum.kirupa.com/t/resizing-slideshow-blowing-up-can-anyone-help-me-troubleshoot/106078
**Category:** Uncategorized
**Created:** [April 1, 2004, 5:33pm UTC](https://forum.kirupa.com/t/resizing-slideshow-blowing-up-can-anyone-help-me-troubleshoot/106078 "2004-04-01T17:33:52Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![niki](https://avatars.discourse-cdn.com/v4/letter/n/c57346/32.png) [@niki](https://forum.kirupa.com/u/niki)
#### Post date: [April 1, 2004, 5:33pm UTC](https://forum.kirupa.com/t/resizing-slideshow-blowing-up-can-anyone-help-me-troubleshoot/106078/1 "2004-04-01T17:33:52Z")

</div>

My resizing slideshow works great when I preview it in flash - works great when I preview it in Dreamweaver after Ive embedded it into a page.

But when I upload the entire file and all the contents of the folder it doesnt do what its supposed to do and pretty much blows up.

Anyone have any ideas? The files are all pulling up so its not an incorrect file structure thing. please help!

Here is the link to where its acting wrong for me: [http://www.technicolortiara.com/mutemath/index.htm](http://www.technicolortiara.com/mutemath/index.htm)

Here is the code:

spacing = 10;  
containerMC.\_alpha = 0;  
MovieClip.prototype.loadPic = function(pic) {  
\_root.containerMC.\_alpha = 0;  
this.loadMovie(pic);  
\_root.onEnterFrame = function() {  
var t = containerMC.getBytesTotal(), l = containerMC.getBytesLoaded();  
if (t != 0 && Math.round(l/t) == 1) {  
var w = containerMC.\_width+spacing, h = containerMC.\_height+spacing;  
border.resizeMe(w, h);  
delete \_root.onEnterFrame;  
}  
};  
};  
MovieClip.prototype.resizeMe = function(w, h) {  
var speed = 3;  
this.onEnterFrame = function() {  
this.\_width += (w-this.\_width)/speed;  
this.\_height += (h-this.\_height)/speed;  
if (Math.abs(this.\_width-w)\<1) {  
this.\_width = w;  
this.\_height = h;  
\_root.containerMC.\_x = this.\_x-this.\_width/2+spacing/2;  
\_root.containerMC.\_y = this.\_y-this.\_height/2+spacing/2;  
\_root.containerMC.\_alpha += 9;  
if (\_root.containerMC.\_alpha\>90) {  
\_root.containerMC.\_alpha = 100;  
delete this.onEnterFrame;  
}  
}  
};  
};
