Bonjour à tous,
J'ai voulu intégrer une animation swf dans ma page HTML, en passant par SWFOBJECT afin de ne pas avoir le fameux message d'avertissement sous Internet Explorer !
Ca fais des heures que je cherche et met en oeuvres des exemple, et, rien à faire ! Mon animation ne se lit pas !
Voici mon code:
[code]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
[ Lien ]">
<html xmlns="
[ Lien ]">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Document sans nom</title>
<link href="211.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="swfobject.js"></script>
<style type="text/css">
<!--
body {
background-image: url(bg_1200px.jpg);
background-repeat: repeat;
}
#apDiv1 {
position:absolute;
width:200px;
height:115px;
z-index:1;
left: 225px;
top: 280px;
}
.Style1 {
color: #333333;
font-weight: bold;
}
#apDiv2 {
position:absolute;
width:850px;
height:41px;
z-index:1;
left: 117px;
top: 569px;
}
#apDiv3 {
position:absolute;
width:282px;
height:155px;
z-index:1;
left: 143px;
top: 625px;
}
.Style2 {color: #333333; font-weight: bold; font-family: Verdana, Arial, Helvetica, sans-serif; }
#apDiv4 {
position:absolute;
width:444px;
height:35px;
z-index:1;
left: 491px;
top: 633px;
}
#apDiv5 {
position:absolute;
width:461px;
height:157px;
z-index:1;
left: 420px;
top: 116px;
}
.Style3 {font-family: Verdana, Arial, Helvetica, sans-serif}
#apDiv {
position:absolute;
width:358px;
height:179px;
z-index:1;
left: 115px;
top: 624px;
}
#apDiv6 { position:absolute;
width:461px;
height:157px;
z-index:1;
left: 360px;
top: 122px;
}
.Style5 {color: #333333}
#apDiv7 { position:absolute;
width:461px;
height:157px;
z-index:1;
left: 420px;
top: 116px;
}
-->
</style>
</head>
<body>
<div id="flashcontent">
<strong>You need to upgrade your Flash Player</strong>
This is replaced by the Flash content.
Place your alternate content here and users without the Flash plugin or with
Javascript turned off will see this. Content here allows you to leave out <code>noscript</code>
tags.
</div>
<script type="text/javascript">
var so = new SWFObject("Animation.swf", "sotester", "300", "300", "9", "#FF6600");
//so.addVariable("flashVarText", "this is passed in via FlashVars for example only");
so.write("flashcontent");
</script>
</body>
<!-- Commentaire -->
<!-- <body onload="load()" onunload="GUnload()">
<div id="map" style="width: 450px; height: 300px ; margin-left: auto ; margin-right: auto; position: relative;margin-bottom: 0;margin-op :0;">
</div>
</body>-->
</html>
[/code]
Nixeus'
Quand j'ouvre ma page web, j'ai le bandeau de sécurité, et après accepter cet avertissement mon animation ne se lit pas !
Avez vous une idée ? je désepère !!
Merci bcp !