doulachan8217 2009-11-29 00:27
浏览 76

Flash / Actionscript是css和javascript的替代品吗?

I have reasonable experience with PHP, CSS, and javascript/jquery/ajax. I'm taking my first steps learning Flex/Flash/Actionscript and it's already striking me that using flash/SWF could solve many of my problems. For example:

  • I won't have to worry much about javascript availability e.g. handling the form submit twice like I do now, once for js available and one for js not available.

  • There's also a CSS advantage: looks like things are very easy to style and drop in their correct exact spot in flash than it is with CSS (I hate CSS because I'm not that great at it and it usually gives me a headache).

I know that all-flash websites are very very bad, so I'm not planning to use Flash for everything, maybe for things that are not important like menus, registration forms, something that displays data that doesn't need to be indexed. For those who are like me (not flash loyalists), what parts of your webapp do you prefer to use flash for and think it does it better or in less time or without headache than CSS/javascript/ajax on a PHP backend? Is my thinking correct to begin with?

  • 写回答

3条回答 默认 最新

  • duanrang3357 2009-11-29 04:52
    关注

    I personally try to use Flash only when another existing technology cannot handle it well. That normally involves advanced animation, and video embedding. Everything else I do with HTML/CSS + Javascript (with jQuery as needed) and backend tech. While it is true Flash "fixes" some of the problems you listed, I don't think you want to move this direction, for a few reasons:

    1. As @Ambrose mentioned, you will be in a very small pond moving the opposite direction of most developers. Not sure how much support you will find. EDIT: Just to be clear. I realize there is a huge Flash developer community. I am specifically speaking of others "like you" that are not moving from HTML/CSS to Flash for the reasons you provided.
    2. Mobile web use is rapidly increasing due to both the iPhone and Android platforms... Neither currently support Flash. (EDIT See this article for Smartphone browser stats)
    3. Flash content cannot be easily repurposed for web, print, mobile in the same way as traditional technologies (CSS/HTML).
    4. I find HTML/CSS + Javascript far more forgiving and easy to learn than Flash... but thats just me :)
    评论

报告相同问题?

悬赏问题

  • ¥15 关于#matlab#的问题:在模糊控制器中选出线路信息,在simulink中根据线路信息生成速度时间目标曲线(初速度为20m/s,15秒后减为0的速度时间图像)我想问线路信息是什么
  • ¥15 banner广告展示设置多少时间不怎么会消耗用户价值
  • ¥16 mybatis的代理对象无法通过@Autowired装填
  • ¥15 可见光定位matlab仿真
  • ¥15 arduino 四自由度机械臂
  • ¥15 wordpress 产品图片 GIF 没法显示
  • ¥15 求三国群英传pl国战时间的修改方法
  • ¥15 matlab代码代写,需写出详细代码,代价私
  • ¥15 ROS系统搭建请教(跨境电商用途)
  • ¥15 AIC3204的示例代码有吗,想用AIC3204测量血氧,找不到相关的代码。