为什么我不应该使用Flash? [英] Why shouldn't I use Flash?

查看:198
本文介绍了为什么我不应该使用Flash?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我多次听说,我应该避免闪光我的网站。然而没有人告诉过我这个好理由。我搜索了一些原因,发现很多不是真实的(比如flash中的文本不能被搜索引擎索引),也可能不一定真实或者不够重要(占用更多的带宽,相当于JS的大一点还是小一点? )。

我的网站使用flash播放声音(m4a)。我不必担心索引,后退按钮不工作等。

但是我有一种感觉可能还有其他的原因。我不应该在我的网站上使用Flash的原因是什么?



我会注意到,iPhone / iPod Touch和移动设备不支持它。对于大多数网站来说并不是什么大事,而且很明显。什么是其他原因,以避免在我的网站上的Flash? 解决方案

你不能打开链接在Flash中的新标签。您无法在Flash中使用浏览器的查找功能。您无法放大Flash。您不能在Flash中使用鼠标手势。您无法在Flash中使用浏览器的拼写检查。我可以继续。



但是,您可以在Flash中播放视频和音频。您可以在Flash中显示复杂的动画。您可以访问用户的网络摄像头和麦克风在Flash中。您可以在Flash中执行许多其他操作,而不能在HTML中执行跨浏览器的方式

换句话说,Flash对可用性不利,但有许多合法的用途。如果你需要一个Flash的功能和HTML只是不削减它,没有理由不使用Flash。但是,您需要了解这些缺点,而不是仅仅因为需要而使用它。


I've heard many times that I should avoid flash for my website. Yet no one has told me a good reason for this. I've searched for reasons and I see many that are not true (such as text in flash are not indexable by search engines) or may not necessarily be true or significant enough (eating more bandwidth. Would a JS equivalent be bigger or smaller?).

My site uses flash to playback sound (m4a). I don't have to worry about indexing, the back button not working, etc.

But I have a feeling there may be other reasons. What are the reasons I shouldn't use flash on my website?

I'll note one, the fact iPhone/iPod Touch and mobile devices do not support it. Not a big deal for most sites and it's obvious. What are other reasons to avoid flash on my site?

解决方案

You cannot open links in a new tab in Flash. You cannot use the browser's "Find" feature in Flash. You cannot zoom in Flash. You cannot use mouse gestures in Flash. You cannot use your browser's spellcheck in Flash. I could go on.

However, you can play video and audio in Flash. You can show complex animations in Flash. You can access the user's webcam and microphone in Flash. And you can do many other things in Flash that you cannot do in HTML--in a cross-browser way.

In other words, Flash is bad for usability, but has many legitimate uses. If you need one of Flash's features and HTML just doesn't cut it, there is no reason not to use Flash. However, you need to be aware of the drawbacks and not use it simply because you want to.

这篇关于为什么我不应该使用Flash?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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