views:

103

answers:

2

Everything about this website affirms my decision to develop interactive websites with javascript and not flash. But one question though, how they do they incoporate sound effect into it? I check the page source and it's not HTML5.

Source: nissanusa

+4  A: 

It actually uses SoundManager

SoundManager 2 makes it easy to play sounds using Javascript. By wrapping and extending the Flash sound API, SoundManager 2 brings solid audio functionality to Javascript. How it works

update, just incase you were wondernig: the other cool jslibraries the website makes use of include,

  1. Raphaël—JavaScript Library for vector graphics and animations.
  2. cufon for fast text replacement with canvas and VML - no Flash or images required
phoenix24
thanks phonenix24! :)
p0larBoy
+2  A: 

The Sound Manager 2 class still extends over the flash API, It is a good example of using Flash only for handling the backend, the frontend doing the actual work with the sounds.

Albeit you're going on a good path to not develop interactive sites in Flash as you can, It's a hinderance.

Nullw0rm
Flash is so '00s.
oni-kun