Hacker News new | ask | show | jobs
by Ruudjah 5435 days ago
So what reasons are there to use flash over HTML5, I ask myself and the HN crowd?

  -Video. (Mwoah, only non-WebM video, can't really count this one)
  -Webcam
  (thanks garethsprice)
  -Simultaneous sounds (thanks AndyJPartridge)
  -Cross-browser support (browsers interpreting HTML5 differently) 
  -???
Non competitive advantages:

  -Games (see Angry Birds)
  -3D hardware acceleration (both have the same security issues exposing shaders)
Competitive advantages HTML5 over flash:

  -2D Hardware acceleration
  -Open
  -Cross-browser support (flash has it's update/versioning problems)
3 comments

For me, the biggest problem I have trying to use HTML5/Javascript/CSS for a game is sound.

I can't get background music and sound effects working simultaneously under iOS using just those standards.

is that a deficiency of the iOS browser or the HTML5 standard?
iOS mainly: Sounds need to be triggered by touch events, which of course for gaming seriously restricts what you can do.

EG: No sound effect from an alien shooting at you.

There's a pretty massive software ecosystem surrounding Flash. Tons and tons of mature libraries for Flash. Not so much for HTML5 (though that will change with mass adoption and time).
Cross-browser support. Getting much better, but HTML5 is still a pain to test/debug cross-browser (or, "in IE and in everything else", which is mostly what CBT comes down to)