*Originally posted by kax *
**remove _root from all your script. that should fix it.  **
 **
IĀ“ve try, but didnĀ“t workā¦
All i really want to do is create a external .swf with a preloader , and then
when you load in the main movie , it starts loading a .mp3 file on the server
using that preloader.
Is this a dificult task� :-\
             
            
              
              
              
            
            
           
          
            
            
              no, it isnāt. :-\
but if thatās not working, something else is wrong too, iād need to see the files.
i should be able to open your flaās if you .zip them.
             
            
              
              
              
            
            
           
          
            
            
              nope⦠i canāt open it, thatās why i told you to .zip the file. :-
donāt ask why, i have no idea, but it usually works. 
             
            
              
              
              
            
            
           
          
            
            
              itĀ“s because im using Macintosh and you are with Windowsā¦
Give a email , and will send the same file but with encode to Windows.
That will work:sure:
             
            
              
              
              
            
            
           
          
            
            
              Did you got it this time?
             
            
              
              
              
            
            
           
          
            
            
              nope⦠i didnāt receive your email. :-\
             
            
              
              
              
            
            
           
          
          
            
            
              yeahā¦
and please remove my address from your post. i posted it that way for a reason. :sigh:
             
            
              
              
              
            
            
           
          
            
            
              ok⦠this script worked for me. =)
stop();
intro = new Sound(this);
intro.loadSound("http://www.filete.0catch.com/intro.mp3");
loadBar._xscale = 0;
percentLoadedText = "0%";
onEnterFrame = function () {
	introBytesTotal = intro.getBytesTotal();
	introBytesLoaded = intro.getBytesLoaded();
	if (introBytesLoaded>0) {
		introLoading = Math.round((introBytesLoaded/introBytesTotal)*100);
		percentLoadedText = introLoading+"%";
		loadBar._xscale = introLoading;
		if (introLoading >= 100) {
			this.gotoAndPlay(2);
			delete this.onEnterFrame;
		}
	}
};
             
            
              
              
              
            
            
           
          
            
            
              Great!! :thumb:
It worksā¦!!
Thanks a lot , kax
But now , i want to find out , what was wrong with the code i madeā¦
Can you give me a clue?
thanks again
             
            
              
              
              
            
            
           
          
            
            
              do you really want to know? 
well, i removed a couple of āuselessā variables in your script and changed _root.gotoAndPlay(2) to this.gotoAndPlay(2). 
             
            
              
              
              
            
            
           
          
            
            
              Ah;)
Now i see , i will check those variables, you know
we always learn with our mistakesā¦
thanks again , kax
and let me just say, that you are a member of my buddy list!
See you!
             
            
              
              
              
            
            
           
          
            
            
              no problem, filete. =)
you should always use this/_parent instead of _root. it could save you a lot of problems (like this one!). 