GREAT PROB: swf doesn't work online !?

I’ve made a Homepage in Flash for a friend (he is an artist and wants to present his pictures online)

     I've made the whole site and it worked perfektly ***until **i  *wanted to test it online so I loaded the whole stuff up on to my test-server and it worked all fine ***except ***the adjustment of the images' size and position.
     
     I've got two .swf's, one *main.swf* in which the other .swf's (the menu and the different contents) are loaded via...
_root.movieclip.loadMovie("... .swf");
   then I loaded the images also by...
_root.movieclip2.loadMovie("image.jpeg");
   and then resized and repositioned them...
*imgwidth *= _root*.movieclip2*._width;
      *imgheigth*= _root.*movieclip2*._height;
      
      if(*imgwidth *> 460){
      	_root.*movieclip2*._xscale = 100 / ( *imgwidth */ 460);
      	_root.*movieclip2*._yscale = 100 / ( *imgwidth */ 460);
      }
      if(*imgheigth*> 368){
      	_root.*movieclip2*._xscale = 100 / ( *imgheigth*/ 368);
      	_root.*movieclip2*._yscale = 100 / ( *imgheigth*/ 368);
      }

_root.*movieclip2*._x = _root.*xcenter*-(*imgwidth */2);
      _root.*movieclip2*._y = _root.*ycenter*-(*imgheigth*/2);

I have tried ***EVERYTHING ***so please help !!!
And because I am in a litte pressure of time a quick answer would be awesome…

PS: If you want/need the files I could attach or email them, too.

search for Quasimodo’s loadmovie fix on google.

Sorry but I do not find anything usefull… there is “Quasimondo” but also with that keyword I don’t find anything like an “loadmovie fix”. :frowning:

Can you give me an URL?

Offline the HTML-File with the integrated FlashMovie works well, too. But online…

  I now attach the files, therefor some information:
     - I will only pack some important files with it
          - the main movie
          - the menu
          - one gallery together with some demo-pictures in different sizes
          - a .txt-File from which the movie reads the amount of pictures per gallery
     - because the menu (as a .fla-file) is 107MB big I will upload that and the images [extern](http://tests.alpha-page.de/help.zip)
      - some of the variables and commentaries are german for questions post, pm or email me

Here it is :

Movieclip.prototype.oldLoadMovie=Movieclip.prototype.loadMovie;
Movieclip.prototype.loadMovie=function(url,vars) {
if(this.onData != undefined && this.onData != null) {
this._parent.createEmptyMovieClip(“__fixEvents”,7777);
this._parent.__fixEvents.theTarget=this;
this._parent.__fixEvents.onData=this.onData;
if(this.onLoad != undefined && this.onLoad != null) {
this._parent.__fixEvents.onLoad=this.onLoad;
}
this._parent.__fixEvents.onEnterFrame=function() {
this.oldv=this.v;
this.v=this.theTarget.getBytesLoaded();
if(this.v != this.oldv) {
this.onData.call(this.theTarget);
}
if(this.v == this.theTarget.getBytesTotal() && (this.theTarget._width > 0) && (this.theTarget._height > 0)) {
this.theTarget.onData=this.onData;
if(this.onLoad != undefined) {
this.theTarget.onLoad=this.onLoad;
}
this.onLoad.call(this.theTarget);
this.removeMovieClip();
}
}
}
this.oldLoadMovie(url,vars);
}