Hey guys !
I am new user of swfobject 2.0.
I am running into some problem with It. Please solve my problem.
This is the code for my page:
<%@ Page Language="C#" AutoEventWireup="true"
CodeFile="ViewFlash.aspx.cs" Inherits="ViewFlash" %>
<!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" lang="en" xml:lang="en">
<head runat="server">
<title>View Flash Files</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('<%= ("\"" + ResolveUrl("~/Flash/
first_Flash.swf") + "\"") %>', "9");
swfobject.embedSWF('<%= ("\"" + ResolveUrl("~/Flash/
first_Flash.swf") + "\"") %>'"flashcontent", "300", "300",
"9","expressInstall.swf");
</script>
</head>
<body>
<form id="form1" runat="server">
<div id="flashcontent"></div>
<div>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
width="780" height="375" id="flash">
<param name="movie" value='<%= ("\"" + ResolveUrl("~/Flash/
first_Flash.swf") + "\"") %>' />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data='<%=
("\"" + ResolveUrl("~/Flash/first_Flash.swf") + "\"") %>' width="300"
height="300">
<!--<![endif]-->
<h1>Alternative content</h1>
<p><a href="http://
www.adobe.com/go/getflashplayer"><img src="
http://www.adobe.com/images/
shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash
player" /></a></p>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>
</div>
</form>
</body>
</html>
I have Internet Explorer 6 and Flash Player 9 Plug In Installed. And I
am also using Mozzila FireFox 2.0.0.15.
The Problem is that I cant see the Flash movie.
Please help me.
Is the code right or I am missing something?
I have also uninstalled the Flash Player Plug In and reistalled It if
its corrupted.