Well, thanks anyway, I understand this a hot potato.
Server operating system has nothing to do with embed code and vice versa. If swf (and all its dependencies) are served - no matter server it will be displayed.
I don't think that the movie file is being found.
Linux is case sensitive so make sure your reference to the movie file is correct.
Thanks for responding, double checked links, everything worked in Windows hosting. Never worked w/ Linux before, is there different code/ scripts that need to be applied for Flash?
No. Everything should be the same.
Can you access the movie directly from the web? Not the html page, but the swf.
1 person found this helpful
Actually, your HTML page can't read this file:-
You should check and see why.
I don't know how to access the swf file directly from the web, it does work fine in the (preview) browser.
I have it in the scripts folder per Windows, does Linux call for another location?
try accessing the swf directly.
this line of code is pointing to a file on your desktop
you know that won't work.
btw. pertty good band
Did you get it sorted?
I just created a blank swf and published as doghouse_loards.swf I then put the hrml and your swf and uploaded to my site total time 5 min if that. My site is linux hosted. http://jimslounge.com/doghouse_loards/
it works sort of
Thanks for the replies and the compliment on the band, I validated the code using w3c validators, redirected the script code, still not getting it, here's the new code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','770','height','650','src','file:///C|/Documents and Settings/chopper.CHOPPER1/Desktop/Doghouse Lords graphics/Website/doghouse_lords_website_1','quality','high','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','movie','file:///C|/Documents and Settings/chopper.CHOPPER1/Desktop/Doghouse Lords graphics/Website/doghouse_lords_website_1' ); //end AC code
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<meta http-equiv="Content-Type" content="text/xhtml+xml;charset=utf-8" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="expires" content="0" />
<param name="movie" value="path_to_swf" />
Try this code and see. There are two places where you have to put the path to your swf file. I've indicated using path_to_swf
Replace those with the path to your swf file. Ensure that it is accessible from the outside. For example:-
If you can access that from your browser then use doghouse_lords_website_1.swf as the path. If not, substitute with the path to the swf.
I just cleared my cache and went to your site again and your html is still looking for your flash in this place
file:///C|/Documents and Settings/chopper.CHOPPER1/Desktop/Doghouse Lords graphics/Website/doghouse_lords_website_1'
1. put all your resources in one folder you can have subfolders if needed
2. publish to that folder
3. upload the entire folder to your web host (don't to forget to rename your html to index.html)
Thanks for the replies, the code worked great, just need to center the movie. The mp3 player isn't loading tho, is it missing code to get in the music file or is it an ActionScript problem in Flash?
1 person found this helpful
The mp3 player is in the swf. If it worked at home then you either forgot to upload your mp3's to the server or you put them in a different path in relation to the swf. If at home they were in a folder called mp3 and the mp3 folder was in the same folder as your swf then you need to be sure they are in a folder called mp3 in the same folder as the swf on the server. Since you moved from windows to unix the most likely problem is case. Windows doesn't care what case you use so Mp3, mp3, and MP3 are all the same if you call for something in the "mp3" folder and the folder is named MP3 that will work fine on a windows server but not on a unix server.
That's it, u da man, gonna try & apply all this to my other band site w/ Flash....