PDA

View Full Version : HTML POLTERGEIST



borispc
January 12th, 2005, 04:42 PM
Hello everyone!

I'm not sure if this is an html or flash issue but here it is:

I have certain htmls that contain flash files (one each).
My problem is the following (which I haven't experienced ever before): my html display the flash files correctly when I open them locally (on my computer, that is) but when I upload them up on the server and I try to see them online they don't display the flash files (just the html title).

Any ideas why this could be?
thank you. :crazy:

ditt0
January 12th, 2005, 04:46 PM
Could you post the link?

borispc
January 12th, 2005, 04:48 PM
well, looking at the source code online it seems like the body content has been totally erased (once it's uploaded via ftp). How can that happen?
And the even weirder thing is that if download that same file on the server back to my computer and open it. It contains the body code embeds the flas file!!!!!!!! REAL POLTERGEIST!

http://www.borispc.com/doyma/ads/

another weird thing is that:

http://www.borispc.com/doyma/

has another index.html with an embed index.swf that works OK.
I upload them the same way.
HELP!

Kristopher
January 12th, 2005, 09:44 PM
I can tell it's easily one of two things. You either:

A) Didn't upload the html or Flash files in full. Just as the previous poster said, you need to have everything fully uploaded, but I'm sure you already knew that.

B) You are using absolute referencing to your computer. Example given: instead of

< img src="folder/file.jpg" >

You have

< img src="F:///User/My Documents/Site Folder/Image Folder/pic.jpg" >

A lot of times Dreamweaver can mess up and do this, so re-check your references.

borispc
January 13th, 2005, 08:35 PM
Ok...POLTERGEIST continues....

1) the files have been uploaded in full. They show the exact same size locally and remotely. It's the htmls that hold the problem, the swfs are fine. Plus, if I try to download the index.html to my computer (in some other folder) all the html code is there:

<html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>VADEMECUM DERMOCOSMETICA</title>
</head>
<body bgcolor="#242424">
<!--url's used in the movie-->
<!--text used in the movie-->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="800" height="600" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="index.swf" />
<param name="quality" value="high"/>
<param name="bgcolor" value="#242424" />
<embed src="index.swf" quality="high" bgcolor="#242424" width="800" height="600" name="index" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</body>
</html>



The strange thing is that if you check the code online...here is what you get:
<html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>VADEMECUM DERMOCOSMETICA</title>
</head>
<body bgcolor="#242424">
<!--url's used in the movie-->
<!--text used in the movie-->

</body>
</html>


How weird is that?

Kristopher
January 14th, 2005, 06:17 PM
You need to wrap your HTML code in HTML tags, because we cant' see it otherwise.

borispc
January 14th, 2005, 11:07 PM
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>VADEMECUM DERMOCOSMETICA</title>
</head>
<body bgcolor="#242424">
<!--url's used in the movie-->
<!--text used in the movie-->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="800" height="600" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="index.swf" />
<param name="quality" value="high"/>
<param name="bgcolor" value="#242424" />
<embed src="index.swf" quality="high" bgcolor="#242424" width="800" height="600" name="index" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</body>