LoadMovie and LoadmovieNum HELP

Loadmovie does not show when uploaded to the IIS or other webservers, but works on the local folder during the development procedures, help me to solve it please.

use the direct path with the url when using loadmovie

System.security.allowInsecureDomain(“localhost”);
my_lc.allowInsecureDomain = function(sendingDomain:String):Boolean {
return (sendingDomain == “localhost”);
};
_root.createEmptyMovieClip(“myMovie”,2);
_root.myMovie.loadMovie(“theman.swf”);
_root.myMovie._x = 580;
_root.myMovie._y = 110;
stop();

where do i use the direct path? please

System.security.allowInsecureDomain("localhost");
my_lc.allowInsecureDomain = function(sendingDomain:String):Boolean {
return (sendingDomain == "localhost");
};
_root.createEmptyMovieClip("myMovie",2); 
_root.myMovie.loadMovie("http://www.some-website.com/theman.swf"); 
_root.myMovie._x = 580; 
_root.myMovie._y = 110;
stop();

hello, thank you for trying to help, my problem is that http: is equal to local host.

secodnly where EXACTLY do I put this security code? :

1.first frame of my original movie hwere the movieclip is located, or

  1. on the first frame of te swf to be loaded ?

i am confused.

or shall i say:

root.myMovie.loadMovie(“http://localhost/folder/theman.swf”); ???

Oh, my god!!! it worked!!! thank you.

I have inserted the code exactly at the first frame of my original movie.

thank you.thank you thank you.:slight_smile: