Some days before we are using flash for buttons, gallery etc, later now JavaScript frameworks like jQuery, Mootools , Scriptallicious and Prototype replace the flash with a light weight code and we can get the same effect like flash, that gives web designers and developers a lot a space for creative thinking
But how to use them effectively in such a way it won’t distract the users attention and it should add value to the website.