Button working on flash (+ ugly hack for html5).