asp.net mvc页面为何不能显示Flash(.swf)动画的原因

本文解决了一个 ASP.NET MVC 中显示非根目录 Flash 文件导致 404 错误的问题。通过将 SteelExternalAll.swf 移动到网站根目录下,成功解决了该问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

找了很多地方,试了很多方法,终于在它的官方网站论坛找到了答案,原因是Asp.net mvc在显示非根目录下的flash文件时会报404未找到错误,但放在根目录下就没事。

原文:The problem is that the swf on the .net form is causing a 404 when SteelExternalAll.swf is requested. If you move SteelExternalAll.swf in the root (/SteelExternalAll.swf) it should work. On the CF form the player is located here: http://www.marshhi.com/vid/vtours/SteelExternalAll.swf.

原文网址:http://forums.asp.net/p/1130639/1791376.aspx#1791376

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值