KEEP having Troubles with loadmovie …
I assigned to the time line of a base movie the following :
loadMovie (“sitemaport.swf”, “sitemaportloader”);
loadMovie (“sitemapesp.swf”, “sitemaportloader”);
loadMovie (“sitemapeng.swf”, “sitemapengloader”);
where sitemaportloader , sitemaportloader sitemapengloader
are empty movie clips for loading the external movies ;
sitemap.swf is the base movie for the 3 movies :
sitemaport.swf, sitemapesp.swf and sitemapeng.swf ;
I tested base movie with Flash by control + enter and all the movies load perfectly ;
All movies are into a folder named “flash_folder” ;
However when I tested the document sitemap.htm which contains embed code , movie has not loaded
completely ; I realized that sitemap.swf has loaded but not
the three other movies ;
sitemap.htm is outside the flash_folder , and flash code on html
points correctly flash_folder/sitemap.htm ;
I tried to copy sitemap.htm inside flash_folder and change the
addressing to the root , and now all of the three movies loaded ;
Is there a special flash code when loadmovie cases like that are in use ??
By a question of site organization on flash_folder only swfs will be placed , now it´s a question of honor to make it work outside;
are all of the files on the same server? The html doesn’t need to be, but for sure all the swf’s need to be on the same server. Probebly the answer is yes. If so… I’m not sure yet. I’m rereading your question in the hopes that I’ll remember some trick I know.
I think that this is due to you calling the loadMovie(); method before the movie clips are loaded yet. I’m not 100% mind you because I haven’t seen the FLA, but 9 times out of 10 this seems to be the case. Make sure that the loadMovie() method is only called once the entire movie has loaded, and I’ll bet you solve the problem. The reason it looks this way to me is that you say it works on your local machine, which if you don’t have “show streaming” turned on, is assuming that the whole movie is loaded as soon as you hit CTRL+enter to test.
(yes for all of movies are on the same server , same folder ) ;
HUm it makes sense , if I understood properly your answer ,
the trouble is that not even the movie sitemaport.swf has loaded yet and the time line finds the 2nd loadMovie ordering to load
sitemapesp.swf and not even the first and the 2nd movies have loaded yet , time line finds the 3rd
loadMovie (“sitemapeng.swf”, … , that makes sense , it jammed all the whole stuff , is it right ?
Correct me If I am wrong : I have 3 movies to load , I want to load them in the order they are bellow :
1st mc -loadMovie (“sitemaport.swf”, “sitemaportloader”);
2nd mc - loadMovie (“sitemapesp.swf”, “sitemaportloader”);
3rd mc - loadMovie (“sitemapeng.swf”, “sitemapengloader”);
(supposing that no buttons will be used )
I will place 1st loadmovie in the time line of base movie , the 2nd loadmovie in the time line of the first (because once loaded it will run and trigger the 2nd loadmovie ) and will place 3rd loadmovie in time line of 2nd ;
If there is another way to do it please inform me ;
Cheers ;
I will post another question concerning transparency of loaded movies