play swf file in website using asp.net c#

Posted by Jahi under ASP.NET on 6/23/2011 | Points: 10 | Views : 22745 | Status : [Member] | Replies : 6
Sir,


How i can play swf file in a website using asp.net c#?



Thanks regards
Jaheena




Responses

Posted by: Lakn2 on: 6/23/2011 [Member] Starter | Points: 25

Up
0
Down
try this

http://www.codeproject.com/KB/aspnet/playSwf.aspx

Thanks&Regards
LakshmiNarayana Nalluri.

Jahi, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Susanthampy on: 6/23/2011 [Member] [MVP] Bronze | Points: 25

Up
0
Down
Hi,

try this,

http://www.dotnetlogix.com/article/aspnet/49/How-To-Play-SWF-File-In-Asp.Net.html

Regards,
Susan

Jahi, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Jahi on: 6/23/2011 [Member] Starter | Points: 25

Up
0
Down
sir/madam

two links you are given to me are same. And that is only for upload. But i want to retreive or dispaly swf files that already uploaded in a folder.

expecting the correct answer. give me



Thanks regards
jahi


Jahi, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Susanthampy on: 6/24/2011 [Member] [MVP] Bronze | Points: 25

Up
0
Down
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="766" height="81">

<param name="movie" value="image/*********.swf" />
<param name="quality" value="high" />
<embed src="image/menu.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="766" height="81"></embed>
</object>


Regards,
Susan

Jahi, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Susanthampy on: 6/24/2011 [Member] [MVP] Bronze | Points: 25

Up
0
Down
Also Try this,


<form id="Form1" method="post" runat="server">
<!-- SWF in ASP.NET -->
<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="30" HEIGHT="56" id="myMovieName" VIEWASTEXT>
<PARAM NAME=movie VALUE="swf_files/admin.swf">
<PARAM NAME=quality VALUE=autohigh>
<PARAM NAME=bgcolor VALUE=black>
<PARAM NAME="menu" VALUE="false" />
<PARAM NAME=FlashVars VALUE="init=yes&check=true">
<EMBED src="swf_files/admin.swf" FlashVars="init=yes&check=true" quality=high bgcolor=#FFFFFF WIDTH="30" HEIGHT="56"
NAME="myMovieName" TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
</EMBED>
</OBJECT>
</form>


or full

<form id="Form1" method="post" runat="server">
<!-- from ASP.net -a -->
<OBJECT id="myMovieName" codeBase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"
height="56" width="30" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" VIEWASTEXT>
<PARAM NAME="_cx" VALUE="794">
<PARAM NAME="_cy" VALUE="1482">
<PARAM NAME="FlashVars" VALUE="">
<PARAM NAME="Movie" VALUE="swf_files/admin.swf">
<PARAM NAME="Src" VALUE="swf_files/admin.swf">
<PARAM NAME="WMode" VALUE="Window">
<PARAM NAME="Play" VALUE="0">
<PARAM NAME="Loop" VALUE="-1">
<PARAM NAME="Quality" VALUE="AutoHigh">
<PARAM NAME="SAlign" VALUE="">
<PARAM NAME="Menu" VALUE="-1">
<PARAM NAME="Base" VALUE="">
<PARAM NAME="AllowScriptAccess" VALUE="always">
<PARAM NAME="Scale" VALUE="ShowAll">
<PARAM NAME="DeviceFont" VALUE="0">
<PARAM NAME="EmbedMovie" VALUE="0">
<PARAM NAME="BGColor" VALUE="">
<PARAM NAME="SWRemote" VALUE="">
<PARAM NAME="MovieData" VALUE="">
<PARAM NAME="SeamlessTabbing" VALUE="1">
<EMBED src="swf_files/admin.swf" FlashVars=""init=yes&check=true"" quality="high" bgcolor="#FFFFFF"
WIDTH="30" HEIGHT="56" NAME="myMovieName" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">
</EMBED>
</OBJECT>
</form>



Regards,
Susan

Jahi, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Susanthampy on: 6/24/2011 [Member] [MVP] Bronze | Points: 25

Login to post response