External Image Centering Problem with Actionscript

Hi Everone!

I’ve tried everything I can think of but for some reason my images won’t center correctly when I uploade my swf file to the internet. they’re all being externally loaded. it works fine on my hard drive but when i upload it to my website it gives me problems. The website can be viewed here:


In case you don’t understand the navigation system the white flowers on the dandilion are the menu items and the images appear in “photography” “graphic design” and “drawings”. when you get to the image pages the little transparent squares at the bottom are the links to load the images :slight_smile:

this is the link to the SWF file


and here is the code i use to link the buttons:

btn01.onRelease = function(){ 

and the code that the image loader uses:

spacing = 10;
containerMCc._alpha = 0;

MovieClip.prototype.loadPic = function(pic){
    _root.containerMCc._alpha = 0;
    _root.onEnterFrame = function(){
        var t = containerMCc.getBytesTotal(), l = containerMCc.getBytesLoaded();
        if (t != 0 && Math.round(l/t) == 1){
            var w = containerMCc._width + spacing, h = containerMCc._height + spacing;
            borderc.resizeMe(w, h);
            delete _root.onEnterFrame;
MovieClip.prototype.resizeMe = function(w, h){
    var speed = 1;
    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.containerMCc._x = this._x - this._width/2 + spacing/2;
            _root.containerMCc._y = this._y - this._height/2 + spacing/2;
            _root.containerMCc._alpha = 100;
            delete this.onEnterFrame;

i’m really stuck on this and have no idea even where to start :frowning: i’ve been able to tweek and figure out mostly everything else on my own but this is too much becaue i can’t even begin to figure out the problem as i really don’t know actionscript :frowning:

thanks in advance :slight_smile: