Help - Search - Members - Calendar
Full Version: Flash not playing on internet
HTMLHelp Forums > Web Authoring > Graphics, Flash and Multimedia
snowy_658
I read this question and it's the same as mine

http://forums.htmlhelp.com/index.php?showtopic=9449

but what is that code there? Where do you put it? My flash works when I test it but not when uploaded it online. I have it embedded in html(I used dreamweaver and clicked insert flash) and it works fine when I test it but then, like I said, when it's online, it just show the html background and not the flash. Help please!
rcanpolat
have you uploaded your flash file to your server and linked it from there? if you link the flash file from your hard drive then your web editor tries to find the file on your computer but can not access it.

you can give this code a try (paste it in as a snippet)

CODE
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase=" http://fpdownload.adobe.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="550" height="400" align="middle"> <param name="movie" value="http://www.yoursite.com/myflashfile.swf"> <param name="allowScriptAccess" value="always"> <embed type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" width="550" height="400" align="middle"
src="http://www.yoursite.com/myflashfile.swf" allowScriptAccess="always"></embed>
</object>


where it says "http://www.yoursite.com/myflashfile.swf" place the direct link to your .swf in there and adjust the width and hight to your flash file (by that i mean "550" and "400"


hope it works for you, if it doesn't then im a little lost, i've never dealt with flash files before unless they were direct snippets from a separate site pre coded

EDIT: the code on the other site is the problem code, if you read it it shows that its telling the browser to find the flash file on "c:\" which the browser is incapable of doing, the browser searches the server for the "c" directory but there is no "c" directory on the browser. the "c" directory is the computers hard drive. the browser is looking on the server for the directory "c" but it cannot find it because there are no permissions to set "c" as part of the server so thats why the file does not play and i wouldn't recommend setting permissions to share drive "c" over the web because someone could end up downloading a secure file you have on your computer :-P

did that make sense?
snowy_658
Thanks, I'll try that, but where do I put that code exactly? I'm not so html savvy, I'm using dreamweaver. Should I put it at the end of the html code, before the "/body" line?
pandy
You put it where you want the flash to appear. You have to edit it to reflect where your flash file is.
Durbin
I can play the movie in Internet Explorer, but not in Firefox. I was trying to adjust the menu bar and believe I wrote over banner.htm.

The main index file was created in FrontPage and has left (sidebar.htm), main (banner.htm)and source (index.htm).

The Source for banner.htm is as follows.

Does anyone know why this isn't working? Would be glad to send you file.. Here is the code in
banner.htm....



<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>GIGC ONLINE</title>
<base target="main">
</head>
<body bgcolor="#333333">
<!--url's used in the movie-->
<!--text used in the movie-->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="766" height="128" align="middle">
<param name="movie" value="../flash/header3.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="header.swf" quality="high" bgcolor="#ffffff" width="766" height="128" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
<!--
REGISTRATION

REGISTRATION

REGISTRATION

REGISTRATION

REGISTRATION

REGISTRATION

REGISTRATION

REGISTRATION

REGISTRATION

REGISTRATION

REGISTRATION

REGISTRATION

REGISTRATION

REGISTRATION

REGISTRATION

REGISTRATION

REGISTRATION

REGISTRATION

REGISTRATION

REGISTRATION

REGISTRATION

REGISTRATION

REGISTRATION

REGISTRATION

-->
<script language="JavaScript" type="text/javascript" src="menu/banner_scr.js">
</script>
<!--XTREEME-DMS-1-CODE-START-->
<table id="m1mainSXMenu2" cellspacing="0" cellpadding="0" border="0" >
<tr align="center">
<td align="right" nowrap="nowrap" width="44"><img src="menu/banner_m1bg0.gif" alt="" /></td><td nowrap="nowrap" onmouseover="chgBg(m1,'m1tlm0',3);exM(m1,'m1mn1','m1tlm0',event)" onmouseout="chgBg(m1,'m1tlm0',0);coM(m1,'m1mn1')" id="m1tlm0" class="m1mit" background="menu/banner_m1bg1.gif"><a id="m1tlm0a" class="m1CL0" href="../html/index.htm" target="main" ><nobr>Home Page<img width="8" height="8" src="menu/banner_m1iad.gif" align="middle" border="0" alt="" /></nobr></a></td>
<td nowrap="nowrap"><img src="menu/banner_m1bg2.gif" alt="" /></td><td nowrap="nowrap" onmouseover="chgBg(m1,'m1tlm1',3);exM(m1,'m1mn2','m1tlm1',event)" onmouseout="chgBg(m1,'m1tlm1',0);coM(m1,'m1mn2')" id="m1tlm1" class="m1mit" background="menu/banner_m1bg1.gif"><a id="m1tlm1a" class="m1CL0" href="../html/about.htm" target="main" ><nobr>Classes<img width="8" height="8" src="menu/banner_m1iad.gif" align="middle" border="0" alt="" /></nobr></a></td>
<td nowrap="nowrap"><img src="menu/banner_m1bg2.gif" alt="" /></td><td nowrap="nowrap" onmouseover="chgBg(m1,'m1tlm2',3);exM(m1,'m1mn3','m1tlm2',event)" onmouseout="chgBg(m1,'m1tlm2',0);coM(m1,'m1mn3')" id="m1tlm2" class="m1mit" background="menu/banner_m1bg1.gif"><a id="m1tlm2a" class="m1CL0" href="java script:void(0);" ><nobr>Gymnastics<img width="8" height="8" src="menu/banner_m1iad.gif" align="middle" border="0" alt="" /></nobr></a></td>
<td nowrap="nowrap"><img src="menu/banner_m1bg2.gif" alt="" /></td><td nowrap="nowrap" onmouseover="chgBg(m1,'m1tlm3',3);exM(m1,'m1mn4','m1tlm3',event)" onmouseout="chgBg(m1,'m1tlm3',0);coM(m1,'m1mn4')" id="m1tlm3" class="m1mit" background="menu/banner_m1bg1.gif"><a id="m1tlm3a" class="m1CL0" href="java script:void(0);" ><nobr>Cheer<img width="8" height="8" src="menu/banner_m1iad.gif" align="middle" border="0" alt="" /></nobr></a></td>
<td nowrap="nowrap"><img src="menu/banner_m1bg2.gif" alt="" /></td><td nowrap="nowrap" onmouseover="chgBg(m1,'m1tlm4',3);exM(m1,'m1mn5','m1tlm4',event)" onmouseout="chgBg(m1,'m1tlm4',0);coM(m1,'m1mn5')" id="m1tlm4" class="m1mit" background="menu/banner_m1bg1.gif"><a id="m1tlm4a" class="m1CL0" href="java script:void(0);" ><nobr>Photos<img width="8" height="8" src="menu/banner_m1iad.gif" align="middle" border="0" alt="" /></nobr></a></td>
<td nowrap="nowrap"><img src="menu/banner_m1bg2.gif" alt="" /></td><td nowrap="nowrap" onmouseover="chgBg(m1,'m1tlm5',3);exM(m1,'m1mn6','m1tlm5',event)" onmouseout="chgBg(m1,'m1tlm5',0);coM(m1,'m1mn6')" id="m1tlm5" class="m1mit" background="menu/banner_m1bg1.gif"><a id="m1tlm5a" class="m1CL0" href="java script:void(0);" ><nobr>Special Events<img width="8" height="8" src="menu/banner_m1iad.gif" align="middle" border="0" alt="" /></nobr></a></td>
<td nowrap="nowrap"><img src="menu/banner_m1bg2.gif" alt="" /></td><td nowrap="nowrap" onmouseover="chgBg(m1,'m1tlm6',3);exM(m1,'none','',event)" onmouseout="chgBg(m1,'m1tlm6',0,1)" id="m1tlm6" class="m1mit" background="menu/banner_m1bg1.gif"><a id="m1tlm6a" class="m1CL0" href="..//html/directions.htm" target="_self">Directions</a></td>
<td nowrap="nowrap"><img src="menu/banner_m1bg2.gif" alt="" /></td><td nowrap="nowrap" onmouseover="chgBg(m1,'m1tlm7',3);exM(m1,'none','',event)" onmouseout="chgBg(m1,'m1tlm7',0,1)" id="m1tlm7" class="m1mit" background="menu/banner_m1bg1.gif"><a id="m1tlm7a" class="m1CL0" href="../html/contactus.htm" target="main">Contacts</a></td><td align="left" nowrap="nowrap" width="6"><img src="menu/banner_m1bg3.gif" alt="" /></td></tr>
</table>
<!--XTREEME-DMS-1-CODE-END-->
</body>
</html>

Buy Nature Cleanse
pandy
You link to different Flash movies in the OBJECT and in EMBED. Presumably the one in EMBED doesn't exist.

CODE
<param name="movie" value="../flash/header3.swf" />

CODE
<embed src="header.swf"... />

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.