Question concerning a load movie trouble

I have a base movie that is sitemap.swf on where I want to load at its time 3 movies, sitemapesp.swf and sitemapeng.swf ;
I created a control layer on sitemap.swf where I placed on frame 10 the action : loadMovie (“flash_folder/sitemaport.swf”, “sitemaportloader”);
( sitemaportloader is an empty movie clip on which sitemaport.swf will load in its x/y position onto base movie) ;

Testing sitemaport.swf ,when time line reached frame 10 I´ve got an error messsage :
“Error opening URL “file:///E|/%21%5Fmy%5Fwebs/silvatrim/silvatrim%5Fv2/flash%5Ffolder/flash_folder/sitemaport.swf” ;
I expected to see sitemaport.swf loaded onto base movie.

As it hasn´t worked I have not continued to place on sitemaport.swf further time line loadmovie commands for , sitemapesp.swf and sitemapeng.swf , but as I discover what is wrong I intend to do it , that´s the way it will work, with two others mc loaders , sitemapesploader and
sitemapengtloader ;

What in the h e l l am I doing wrong ??

<object classid=“clsid:D27CDB6E-AE6D-11cf-96B8-444553540000” codebase=“http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0” width=“250” height=“50”>
<param name=movie value=“http://sites.uol.com.br/multi-media-mkt/mmktxtdance.swf”>
<param name=quality value=high>
<embed src=“http://sites.uol.com.br/multi-media-mkt/mmktxtdance.swf
quality=high pluginspage=“http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash” type=“application/x-shockwave-flash” width=“250” height=“50”>
</embed>
</object>

Is the file you are trying load located at the URL that there is an error.

When you get that error it means that A) that location doesn’t exist B)The file doesn’t exist in that location C)Both.

I notice it is looking for it in the E: drive… ummm, is that another hard drive you have on your comp? Isn’t C: the default harddrive letter assignment?

Also, I usually keep my external files in the same folder as my main file, that way you don’t need a full URL, just a filename.

Unfortunetaly it is not a simple reason as you thought lostinbeta ;

I rechecked many times file is there , that is the path , flash_folder/sitemaport.swf (folder is located on driver E) ;

File name is correct , I have 3 other drivers but it does not anything to do with them because base movie is inside
flash_folder as well.

I´ve got still the Message error :

Error opening URL “file:///E|/%21%5Fmy%5Fwebs/silvatrim/silvatrim%5Fv2/flash%5Ffolder/flash_folder/sitemaport.swf” ;

Do you think is there a mistake on the action ?

<object classid=“clsid:D27CDB6E-AE6D-11cf-96B8-444553540000” codebase=“http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0” width=“250” height=“50”>
<param name=movie value=“http://sites.uol.com.br/multi-media-mkt/mmktxtdance.swf”>
<param name=quality value=high>
<embed src=“http://sites.uol.com.br/multi-media-mkt/mmktxtdance.swf
quality=high pluginspage=“http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash” type=“application/x-shockwave-flash” width=“250” height=“50”>
</embed>
</object>

Thank you very much

No, I don’t believe there is anything wrong with the action, because if the action didn’t work, then it wouldn’t be able to look up the location or the file.

But since it did look it up, it shows there is nothing wrong with the code. I believe.

Did you try putting it in the same folder as your main movie?

Hi lostinbeta,

your question :

Did you try putting it in the same folder as your main movie ?>>>>>> both are exactly into the very same folder , which is
flash_folder ;

Base movie path is flash_folder/sitemap.swf and movie to be loaded is on flash_folder/sitemaport.swf ;

The test I am running is control + enter , and as there is not any external full URL , just file names in a folder , it was supposed to work ;

Thank you anyway ;

<object classid=“clsid:D27CDB6E-AE6D-11cf-96B8-444553540000” codebase=“http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0” width=“250” height=“50”>
<param name=movie value=“http://sites.uol.com.br/multi-media-mkt/mmktxtdance.swf”>
<param name=quality value=high>
<embed src=“http://sites.uol.com.br/multi-media-mkt/mmktxtdance.swf
quality=high pluginspage=“http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash” type=“application/x-shockwave-flash” width=“250” height=“50”>
</embed>
</object>

If it is in the same folder you don’t need …

flash_folder/sitemaport.swf

you just need…

sitemaport.swf

Hey , you´re great , now it works , it makes sense
if it is in the same folder there is not need for the complete path ;
Thank you very much once again ,
Cheers
MMKT

No problem. I am glad I could help :slight_smile:

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 3 other 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;

Any help ?

Cheers

<object classid=“clsid:D27CDB6E-AE6D-11cf-96B8-444553540000” codebase=“http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0” width=“250” height=“50”>
<param name=movie value=“http://sites.uol.com.br/multi-media-mkt/mmktxtdance.swf”>
<param name=quality value=high>
<embed src=“http://sites.uol.com.br/multi-media-mkt/mmktxtdance.swf
quality=high pluginspage=“http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash” type=“application/x-shockwave-flash” width=“250” height=“50”>
</embed>
</object>

My guess would be to create your your .fla to say it is in the folder.

But then, the only way to preview it would be to publish it :-\

That is the only solution I could think of.

I never had that problem because whenever I do anything like that I keep everything in the same spot. Since for a full HTML site you only need 1 .html the clutter shouldn’t be too bad.

well you could just change the url of the files inside flash. Even though the only way to preview your movie would be to export, it isn’t too out of the way.

Hum I simply can´t believe that in order for that stuff to work it has to be the htm file necessarily inside the same folder of swfs , there may be some other detail , or other solution ;
it sounds very strange for me , after so many hours of hard work , its already four am here , I am exhausted and cannot think over anything else.

<object classid=“clsid:D27CDB6E-AE6D-11cf-96B8-444553540000” codebase=“http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0” width=“250” height=“50”>
<param name=movie value=“http://sites.uol.com.br/multi-media-mkt/mmktxtdance.swf”>
<param name=quality value=high>
<embed src=“http://sites.uol.com.br/multi-media-mkt/mmktxtdance.swf
quality=high pluginspage=“http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash” type=“application/x-shockwave-flash” width=“250” height=“50”>
</embed>
</object>

Uploaded the files to the server and tested on line , if base movie is inside the flash_folder together with all movies the stuff works fine ;
but not out of the flash_folder ;
that´s crazy ;