如何根据屏幕大小调整.swf文件的大小? [英] How to resize a .swf file depending on screen size?

查看:109
本文介绍了如何根据屏幕大小调整.swf文件的大小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个带有大型.swf文件的网站。但是,当屏幕较小的人查看该网站时,我希望.swf(占据整个屏幕)的大小进行调整以准确显示。就像在大多数Flash网站上查看时一样,它们完全适合屏幕,但是在具有较小屏幕的计算机上查看时,它们也会调整大小并仍然完美匹配。

解决方案

如果直接链接到swf文件(而不是将其嵌入到任何页面中),则它将是全屏显示。 / p>

I have a website with a large .swf file. However when people with smaller screens view the website, I would like the .swf (which takes up the entire screen) to resize to fit on exactly. Just like how on most flash sites when viewed they fit the screen perfectly, however also then when viewed on computers with smaller screens they resize and still fit perfectly again.

解决方案

If you link directly to the swf file (not embedding it in any page) it'll be full-screen.

这篇关于如何根据屏幕大小调整.swf文件的大小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆