简体   繁体   English

2021 年播放 .swf 文件?

[英]Playing .swf file in 2021?

How would I go about playing a .swf file in 2021 with C#?我将如何在 2021 年使用 C# 播放 .swf 文件? "Shockwave flash object" is not available as a choice for me in Visual Studio 2019. Is there any other way?我在 Visual Studio 2019 中没有“Shockwave flash object”可供选择。还有其他方法吗?

The short answer is: No, but there is a possible workaround if you are really obsessed with your intent简短的回答是:不,但如果您真的对自己的意图着迷,则有一种可能的解决方法

The Shockwave flash object (Flash*.ocx) is an Activex Component and was part of Adobe Flash Player Plugin, officially removed from Windows in KB4577586 in 2020. It was not part of Visual Studio itself. Shockwave Flash 对象 (Flash*.ocx) 是一个Activex 组件,是 Adob​​e Flash Player 插件的一部分,于 2020 年在 KB4577586正式从 Windows 中删除。它不是 Visual Studio 本身的一部分。

Refer to Adobe Flash Player EOL General Information Page and Microsoft Announcement: Update on Adobe Flash Player End of Support请参阅Adobe Flash Player EOL 一般信息页面Microsoft 公告:Adobe Flash Player 支持终止更新

The only way to use it is finding a way to manually restore it ie installing an old version, as suggested by this detailed article .使用它的唯一方法是找到一种手动恢复它的方法,即安装旧版本,正如这篇详细文章所建议的那样 So you could try to reinstall Flash 32.0.0.371 using this archived version in your current Windows environment but honestly I don't know how the OS will behave.因此,您可以尝试在当前的 Windows 环境中使用此存档版本重新安装 Flash 32.0.0.371,但老实说,我不知道操作系统会如何运行。 Once installed, you would be able to see "Shockwave flash object" back in components list of any Visual Studio version.安装后,您将能够在任何 Visual Studio 版本的组件列表中看到“Shockwave flash object”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM