2 Replies Latest reply: Sep 27, 2011 1:15 PM by Angela French RSS

    Does .swf file have to be in same folder as the .htm file that it is embedded in?

    Angela French Community Member

      I'm experiencing something odd that does not seem right.  I am trying to embed an .swf file on a web page.  I have the player file in a separate resource folder from the other files.  In the object tags data attribute value, I am able to have the .swf file be in another folder.  However, in the <param name="movie" value attribute, I am not.  Can anyone tell me why?

       

       

       

      <object id="Object1" type="application/x-shockwave-flash" data="../VideoResources/player_flv_maxi.swf" width="480" height="360">  THIS WORKS

       

       

       

      < param name="movie" value="player_flv_maxi.swf" />     this works if I put a copy of the .swf file in the same folder as the .htm file (but I don't want to)

       

      but this does not work if I put the .swl file in the a folder one level up (which I want to):

       

      < param name="movie" value="../VideoResources/player_flv_maxi.swf" />   

       

      Thanks for any ideas.