Several times, this question has been asked from me that how can we embed flash banner in our asp.net page. so i have decided to write a post on this topic to helps the others.
Here’s an example.
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title>Embed flash banner in your asp.net page</title>
</head>
<body>
<form id="form1" runat="server">
<div>
<h2>
Embed flash banner in your asp.net page</h2>
<p>
</p>
<object width="300" height="250" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,5,0,175"
classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000">
<param value="http://s3.amazonaws.com/fbncds/xmas-countdownf-mr.swf" name="movie">
<param value="undefined" name="FlashVars">
<param value="sameDomain" name="allowScriptAccess">
<param value="high" name="quality">
<param value="false" name="menu">
<param value="transparent" name="wmode">
<embed width="300" height="250" pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" wmode="transparent" menu="false" quality="high"
allowscriptaccess="sameDomain" flashvars="undefined" src="http://s3.amazonaws.com/fbncds/xmas-countdownf-mr.swf"></object>
<p>
<a href='http://www.aspxtutorial.com'>.NET Articles</a>
</p>
</div>
</form>
</body>
</html>
Note:Flash is not supportable in Apple devices. So, this code will not work in Apple devices.
Output

Download
Embed-Flash-banner.zip (1.11 kb)
See live demo