在ASP.NET上显示SWF FLASH文件的问题 [英] Problems to show a SWF FLASH file on ASP.NET
问题描述
我无法在ASP.NET C#WEB项目上显示SWF FLASH文件.
我正在使用Visual Studio2010.
我尝试单独使用OBJECTS,但没有任何反应(以下代码).只是一个空的正方形.....甚至没有错误!!!!
添加< embed>子句,我有一条警告消息:不支持元素嵌入"!再也没有任何反应.
------------------
I have problems to show a SWF FLASH file on my ASP.NET C# WEB project.
Im working on Visual Studio 2010.
I have tried using OBJECTS alone, but nothing happens (code below). Just an empty square.....Even not an error !!!!
Adding the <embed> clause, I have a warning message: "Element embed is not supported" !!!! and nothing happens, again.
------------------
<object type="application/x-shockwave-flash" data="/Imagens/MapaBrasilSelecao-2.swf"
width="90%" height="150">
<param name="movie" value="/Imagens/MapaBrasilSelecao-2.swf" />
<param name="quality" value="high" />
</object>
------------------
我还尝试添加< classid>和< codebase> (下面的代码),但没有任何效果
好吧.
------------------
------------------
I also tried to add <classid> and <codebase> (code below), but nothing worked
well.
------------------
<td align="center">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" data="/Imagens/MapaBrasilSelecao-2.swf"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
type="application/x-shockwave-flash" width="90%" height="150">
<param name="movie" value="/Imagens/MapaBrasilSelecao-2.swf" />
<param name="src" value="/Imagens/MapaBrasilSelecao-2.swf" />
<param name="quality" value="high" />
<embed src="~/Imagens/MapaBrasilSelecao-2.swf" type="application/x-shockwave-flash" width="90%" height="150"></embed>
</object>
</td>
------------------
每个人都说相同的(上面的代码),但是没有用吗?
我认为必须有一些我不知道的IE安全配置!
有人可以帮我吗?
谢谢.
Guilherme
------------------
Everybody said the same (code above), but it did not work ?
I think there must be some IE Security Configuration I dont know !?!?!?!?!?!
Can anybody help me ?
Thanks.
Guilherme
推荐答案
看看此代码项目Q/A.
Take a look at this Code Project Q/A.use swf in Asp.net please type code or tages that you use it[^]
任何人都可以告诉我如何显示swf文件(如果该文件位于主项目文件夹之外的其他位置(例如在不同的服务器中)) ?
Can anybody tell me how to show the swf file if it is present outside of the main project folder in other location (like in different server)?
这篇关于在ASP.NET上显示SWF FLASH文件的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!