Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Tiauguinho

macrumors 6502a
Original poster
Mar 5, 2002
647
0
The Netherlands
I've got this problem...

My homepage doesn't display my .swf files. I'm uploading it by doing this:

. create the page in flash ( of course )
. then Open Dreamweaver
. save the blank document as index.html
. then import the .swf file from the little Flash Icon in the toolbar
. Save again
. Open iDisk
. Open Sites folder
. And Drag the index.html and the .swf file over there
.Close the iDisk
. and then open chimera or IE
. and nothing...

I can see in the html source that the .swf is there but it is not displaying...

Can you guys help me out please? It's weird because I was able to do this around 2 weeks ago and now I can't. I've already asked this on the .Mac helpsite and the moderator said that it should be some flash problem.

I can't remember if I changed something in DW by accident, so guys please help me...

my homepage is: http://homepage.mac.com/tiagocarvalho/

Thanks in Advance
 
The source for your page is this:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="1024" height="768">
  <param name="movie" value="Back%20Up/Flash/Virginia.swf">
  <param name="quality" value="high">
  <embed src="Back%20Up/Flash/Virginia.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="1024" height="768"></embed></object>
</body>

</html>
index.html is trying t pull the flash file from here:
Code:
[url]http://homepage.mac.com/tiagocarvalho/Back%20Up/Flash/Virginia.swf[/url]
Which if you enter into your address bar, it does not exist.
If your index.html and swf file are located in the same folder, then the code should read:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="1024" height="768">
  <param name="movie" value=[b]"Virginia.swf"[/b]>
  <param name="quality" value="high">
  <embed src="[b]Virginia.swf[/b]" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="1024" height="768"></embed></object>
</body>

</html>
What you could do is put your index.html file along with your .swf file into 'Sites' folder in your 'Home' folder, then in your browser enter the address http://127.0.0.1/~yourusername/
this is the address where you will access your local apache web server, now you have somewhere you can experiment before uploading to your iDisk.
 
Thanks edesignuk!

I've tried to do what you told me, but the problem still persists. In the HTML souce it sill reads:

<param name="movie" value="Back%20Up/Flash/Virginia.swf">
<param name="quality" value="high">
<embed src="Back%20Up/Flash/Virginia.swf"

I dont know what to do... I've been trying to solve this but im getting sick and tired that I just cant find an answer to this problem. Is there any possbility that some setting in Flash or DreamWeaver is wrong. I haven't messed with it, but I'm no sure of anything anymore. Is there anything more that I should check?
 
Originally posted by Tiauguinho

<param name="movie" value="Back%20Up/Flash/Virginia.swf">
<param name="quality" value="high">
<embed src="Back%20Up/Flash/Virginia.swf"
It needs to read like this:

<param name="movie" value="Virginia.swf">
<param name="quality" value="high">
<embed src="Virginia.swf"
 
edesignuk,

It works!!!!!! I fixed the HTML code on dreamweaver and it works ok now! Thanks man! I still don't know what caused the mess, since i haven't touched the html code on DW before, but now i know what to do the next time!

Thanks again!
 
I've noticed this with DW before too, on image files.

Users who aren't careful, or don't ever check code view have files linked locally, rather than document relative, even though they are choosing document relative in DW's dialog box.

Always double-check your code. :)
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.