将 Flash 文件嵌入网页时遇到问题

发布于 2025-01-03 19:38:08 字数 762 浏览 0 评论 0原文

我需要制作一个全屏Flash 动画。经过一番研究后,我似乎只能通过浏览器来完成此操作,因为 Windows 7 预览版不支持全屏。

我按照这个网站的步骤进行操作; http://www.bezzmedia.com/swfspot/tutorials/flash8/True_Fullscreen_Flash_Mode

但是,我在将 flash 文件嵌入到简单的 HTML 文档中时遇到问题。该文件名为“LaBoheme.swf”,与我的 HTML 文件存储在同一目录中。因此,这是我的代码;

<html>
<body>

<h1>Test Heading</h1>

<object type="application/x-shockwave-flash" data="laboheme.swf" width="1280" height="1024">
<param name="movie" value="laboheme.swf">
<param name="allowFullScreen" value="true" />
</object>

</body>
</html>

问题很简单,就是flash动画没有出现。我感觉我在这里犯了一个我无法弄清楚的菜鸟错误。多谢!

I need to make a Flash animation fullscreen. After a bit of research it seems I can only feasibly do this via a browser, since the Windows 7 preview does not support fullscreen.

I followed the steps of this website;
http://www.bezzmedia.com/swfspot/tutorials/flash8/True_Fullscreen_Flash_Mode

However, I'm having a problem embedding the flash file into a simple HTML document. The file is called "LaBoheme.swf" and is stored in the same directory as my HTML file. Hence, here is my code;

<html>
<body>

<h1>Test Heading</h1>

<object type="application/x-shockwave-flash" data="laboheme.swf" width="1280" height="1024">
<param name="movie" value="laboheme.swf">
<param name="allowFullScreen" value="true" />
</object>

</body>
</html>

The problem is simply that the flash animation does not appear. I get the feeling I'm making a rookie mistake here that I just can't figure out. Thanks a lot!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

你的往事 2025-01-10 19:38:08

试试这个:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="1280" height="1024" id="dewplayer" align="left">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="laboheme.swf" />
<param name="allowFullScreen" value="true" />
<param name="quality" value="high" />
<embed src="laboheme.swf" quality="high" allowFullScreen="true" width="1280" height="1024" name="dewplayer" align="left" allowScriptAccess="sameDomain" 
type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
</object>

try this:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="1280" height="1024" id="dewplayer" align="left">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="laboheme.swf" />
<param name="allowFullScreen" value="true" />
<param name="quality" value="high" />
<embed src="laboheme.swf" quality="high" allowFullScreen="true" width="1280" height="1024" name="dewplayer" align="left" allowScriptAccess="sameDomain" 
type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
</object>
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文