正在加载...

blog » 软硬一本 » 谁还需要flash?

谁还需要flash?

是的,我从来就不需要——因为我不会...
我从来也没有费心对flash进行学习,并不是因为我知道有一天css可以如此强大,而是本能的对矢量抗拒。

但是...如同从未来世界回到现在的机器猫一样,CSS3摆在面前也能如此的梦幻:
而且...它还能通过W3C的验证...


(大图)

好吧,其实我是想说,IE是如此的丑陋,而且已经是IE8了还如此的丑陋...
当然你也可以说方方正正的机器猫也别有一番风味...

  • Chrome 显然是最佳的,如果你去看看这个demo(貌似需要翻墙)的话,他的眼睛还可以动...
  • Firefox 只是眼睛不能动
  • Opera 如图,少了渐变效果
  • IE ... ... ... ...我们仿佛回到了任天堂的时代...

撇开这些不谈,作者还按照文件大小进行了测算,如果使用Chrome渲染的前提下,截图压成256色的gif是33.5K,低质量的jpg是96.5K,PNG是60.2K
——而html+css文件是2.05KB + 14.2KB = 16.25KB

当然,这也不算小,而且还没有算上服务器和浏览器执行的效率,这仅仅是一种尝试。

而且,肯定还有同学会说,交互呢?CSS不能取代一切——别忘了,还有html5。

当然,不可能全部忘掉flash(尤其是很显然IE根本不会很快死掉或者快速前进,不管是哪一个现存版本的IE),但是有一部分会被替代掉,这是一定会发生,并且正在发生的事情。

题外话:

其实这也是前端开发人员的悲哀,除了各种各样的必修课,还必须这也会一点,那也会一点,因为你根本不知道下一份工作,你会的哪一点就变成了主力。
有的公司专设flash工程师,有的公司专设JS工程师 ——如果你只会一样,实际上对职业发展来说确实是非常的不利的...

Popularity: 12%

延展阅读

RSS 2.0 | leave a response | trackback

31 Responses

  1. May 16th, 2010 / 5:57 pm Reply to this comment dismory Says:

    握手.

  2. May 16th, 2010 / 6:04 pm Reply to this comment 万戈 Says:

    哈哈,这张图,笑翻了,很形象啊

  3. May 16th, 2010 / 7:59 pm Reply to this comment 猪小猪 Says:

    我倒现在依然没弄明白到底html5是干嘛的。。。

  4. May 16th, 2010 / 8:12 pm Reply to this comment 雨云 Says:

    唉,没办法啊,其实做前端是打杂的~~

  5. May 16th, 2010 / 9:37 pm Reply to this comment 知更鸟 Says:

    CSS3只要IE不支持,基本没任何应用价值,虽然很炫,可惜...

  6. May 16th, 2010 / 9:57 pm Reply to this comment crossyou Says:

    观望flash

  7. May 16th, 2010 / 10:39 pm Reply to this comment underone Says:

    @猪小猪: 就是标准呗...
    我记得html4已经是97年的事儿了...
    @知更鸟: 是啊...

  8. May 17th, 2010 / 9:25 am Reply to this comment thewei Says:

    FLASH还有继续的空间的。。。但它现在是有点不合以后了

  9. May 17th, 2010 / 5:45 pm Reply to this comment 高凯 Says:

    CSS 确实强大!! 不可否认

  10. May 17th, 2010 / 10:23 pm Reply to this comment nooidea Says:

    虽然我不懂代码 可是这篇多拉a梦实在是太形象了

    丸子还始终是我手机rss里头唯一一个保留至今的技术博客 哈哈

  11. May 18th, 2010 / 9:46 am Reply to this comment underone Says:

    @nooidea: 我这么不勤于更新的人...实在是太感动了...

  12. May 18th, 2010 / 10:06 pm Reply to this comment ar辉 Says:

    我用火狐好多年。

  13. May 20th, 2010 / 1:54 am Reply to this comment ar辉 Says:

    @ar辉: 流量对我来说是废品,即便如此,我也不愿意受不平等的待遇。如果方便请删除我的评论,谢谢。

  14. May 20th, 2010 / 10:28 am Reply to this comment 漢文溪 Says:

    哈哈 最近使用的一款屏保也是猫仔的 挺好 挺好 貌似教育网不需要翻墙

  15. May 20th, 2010 / 10:29 am Reply to this comment 漢文溪 Says:

    貌似这个评论我是用ie6留下的 哈

  16. May 20th, 2010 / 3:11 pm Reply to this comment underone Says:

    @ar辉: 什么意思这是...

  17. May 21st, 2010 / 10:24 am Reply to this comment ar辉 Says:

    @underone: 第一个回复 “ar辉 Says”不带链接,而别人有。

  18. May 21st, 2010 / 11:50 am Reply to this comment A.shun Says:

    Html5和CSS3好哇。。
    Flash太残念了。。

    另外,纠正一下,机器猫在opera下少的不是“阴影”,而是“渐变”。
    细心注意一下,手部下面和头部的左侧那个才叫做阴影
    瘾科技的记者搞错了,误导一大片

  19. May 21st, 2010 / 3:04 pm Reply to this comment underone Says:

    @A.shun: 感谢提醒,我真应该拆开css仔细看看再说的:)~~

  20. May 21st, 2010 / 3:10 pm Reply to this comment underone Says:

    @ar辉: ...我不会闲的去编辑留言,然后还专门把链接删掉
    留言能出现就会出现,不能出现的就是被插件自动挡掉了,后台关于留言的操作就只有这么一个步骤,要么有要么没有,我不会去编辑它

    这么多年了,就算是跑来恶意骂街的留言我也都没删过

    要么是你留言的时候忘了网址,要么是那一瞬间服务器出问题了,要么是我删了,只有这三种情况,你愿意相信哪个?

  21. May 21st, 2010 / 3:15 pm Reply to this comment cosbeta Says:

    天chao最喜欢没有标准的世界,所以还是别统一标准了。html5统一的时候,我们应该都50岁了

  22. May 21st, 2010 / 3:16 pm Reply to this comment underone Says:

    @cosbeta: 不会的...估计也就四十几...

  23. May 21st, 2010 / 3:17 pm Reply to this comment 七爷 Says:

    事儿B年年有处处有,认真你就输了丸子——你想想你回上面那个长帖子又在推上推,浪费的时间够吃几个肘子了?

  24. May 21st, 2010 / 3:59 pm Reply to this comment underone Says:

    @七爷: 受不了你,我们叫你七爷是尊重长者,你自己还这么叫自己啊...

  25. May 21st, 2010 / 10:58 pm Reply to this comment 谁还需要Flash? » 奶奶的熊 Says:

    [...] 注:本文源自http://www.underone.com/2010/05/16/css3-doraemon/ [...]

  26. May 23rd, 2010 / 2:35 pm Reply to this comment ar辉 Says:

    @underone: 是我错,我是很容易冲动的人.可能数据丢包了吧.
    失态.失态.抱歉 ,抱歉 .

  27. Jun 22nd, 2010 / 2:24 pm Reply to this comment 墨匠 Says:

    ie 8是方块猫

  28. Jun 24th, 2010 / 9:17 am Reply to this comment 园子 Says:

    如果说客户必要是要求FLASH呢
    我们是做还是不做?

  29. Jul 23rd, 2010 / 2:03 pm Reply to this comment underone Says:

    @ar辉: 哈哈没啥,真没啥的。。我这你是不删留言的

  30. Sep 3rd, 2010 / 6:34 pm Reply to this comment JASKNi Says:

    flash可有可无,这个在Vimeo和使用APPLE的东西的时候已经感觉到了.
    不过还是很舍不得这东西.

  31. Feb 11th, 2011 / 11:16 am Reply to this comment 叮噹話畀你知CSS3 有幾勁! Says:

    [...] 文章經小弟本地化 & 加鹽加醋,資訊來源:呢度。 [...]

Leave a Reply