This content has been marked as final. Show 4 replies
You can have your swf in another directory as long as the path from the html embed is pointing to the proper file - in your case it would from the html doc: /Mp3/mp3Player.swf - and the same is true if the swf file resides in the root - then in that case the paths to the asset files would need the directory name in the path as well as in: /Mp3/songs.xml
it's a matter of the 'chain' of directories depending on which way your calling and where the file is located.
I'm sorry I'm not sure I'm following you here... How do I tell the files where to look in each folder? is there a simple command I can attach to the first line of code?
how are you loading your music files - are you using the mediaPlayer component? there's a 'contentPath' parameter in which you enter the path to the file. So if the swf is in the root directory you would need to preface the file name with the folder name where it is ie. Mp3/filename.mp3
however if you wish to keep the file in the Mp3 folder, then you would need to make the change in the index html code - using the same principle 'target' the swf file: Mp3/filename.swf
Well I understand what you're saying but for some reason it's still not working? Here is the line of code that I'm trying to put in a table:
AC_FL_RunContent( 'codebase',' http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','wid th','210','height','25','title','mp3 player','src','../mp3/mp3Player','quality','high','pluginspage',' http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movi e','../mp3/mp3Player' ); //end AC code
</script><noscript><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase=" http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="210" height="25" title="mp3 player">
<param name="movie" value="../mp3/mp3Player.swf" />
<param name="quality" value="high" />
<embed src="../mp3/mp3Player.swf" quality="high" pluginspage=" http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="210" height="25"></embed>
Do you see any problem?