Click here to Skip to main content
15,896,348 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friends

May i Know how to include an Flash File in my asp.net Web Pages.


Thanks in Advance

Regards
Sushil Dharmar
Posted

HTML
<html> 

<body> 

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000">

codebase="http://download.macromedia.com/pub/shockwave/
cabs/flash/swflash.cab#version=6,0,40,0" 
 
width="468" height="60" 
 id="mymoviename"> 

<param name="movie">

value="example.swf" /> 
 
<param name="quality" value="high" /> 

<param name="bgcolor" value="#ffffff" /> 

<embed src="example.swf" quality="high" bgcolor="#ffffff">

width="468" height="60" 

name="mymoviename" align="" type="application/x-shockwave-flash" 

pluginspage="http://www.macromedia.com/go/getflashplayer"> 


</embed> 

</param></object> 

</body>

</html> 
 
Share this answer
 
You need to embed it using Object tag:
XML
<object type="application/x-shockwave-flash" data="yourflash.swf" width="" height="">
    <param name="video" value="myflash.swf" />
</object>

Look here for details:
How To Play SWF File In Asp.Net[^]


You can also use a free version control to do the same: http://www.flash-control.net/[^]
Look here for details:
How To Play SWF File In Asp.Net [^]


Few more options discussed here:
How to embed a flash (.swf) file into asp.net?[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900