17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 2074 Views |
-
add flash with swfobject

28 October 2008 at 6:00am
HI!
I read some post about add flash. Here http://code.google.com/p/swfobject/wiki/documentation tell to use swfobject. so I download the package but where I put that? Then how can I use it?The guide say to add flash in this way:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" lang="en">
<head>
<title>SWFObject 2.0 - passo 3</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<script type="text/javascript" src="swfobject.js"></script><script type="text/javascript">
swfobject.registerObject("myId", "9.0.0", "expressInstall.swf");
</script></head>
<body>
<div><object id="myId" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="780" height="420">
<param name="movie" value="myContent.swf" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="myContent.swf" width="780" height="420">
<!--<![endif]-->
<p>Contenuto alternativo</p>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
</body>
</html>but in forum I foun also this code row:
<div id="HeaderZdjecia">
</div>
<script type="text/javascript">
var so = new SWFObject("header.swf", "mymovie", "950", "400", "9", "#ffffff");
so.addParam("wmode", "transparent");
so.addVariable("xmladress", "menurel.xml");
so.addVariable("id", "2");
so.addVariable("fv", "2");
so.write("HeaderZdjecia");
</script>
So what I must do? -
Re: add flash with swfobject

28 October 2008 at 6:20am
I use first solution but I see nothing, only a withe space
| 2074 Views | ||
|
Page:
1
|
Go to Top |

