Click here to Skip to main content
15,897,334 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi How can i add swf file file in MVC2.

My asp.net code is
HTML
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"
                                                        width="197" height="174">
                                                        <param name="movie" value="gallery.swf" />
                                                        <param name="quality" value="high" />
                                                        <param name="wmode" value="transparent" />
                                                        <embed src="gallery.swf" quality="high" wmode="transparent" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
                                                            type="application/x-shockwave-flash" width="197" height="174"></embed>
                                                    </object>


How can i convert above asp.net code into MVC2

thanks,
sampath
Posted
Updated 1-Sep-11 22:31pm
v2
Comments
Prerak Patel 2-Sep-11 4:31am    
Use code block for code segment.

1 solution

Click Here[^] or Here[^]

Embedding SWF to web pages is done at client side. This will work in both Asp.Net WebForm and MVC (any version) too.
 
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