Your comment isn't very coherent.
-- Other than the fact that "better" is entirely subjective, how many modern web applications in widespread use are based on Flash rather than JS+HTML5? Gmail, facebook, twitter, google docs: no flash. Youtube: flash only for the video codec, not functionality.
-- "ActionScript is a dialect of ECMAScript": http://en.wikipedia.org/wiki/ActionScript So what language features were you thinking of that make ActionScript/Flash better than Javascript?
-- Security holes in Flash vs. HTML5? hmm...
-- HTML5 on 64bit Linux? Check. Flash? still buggy.
Trains were not replaced by faster trains, but by airplanes.
Good First class travel experience from Europe to Australia will not be replaced by Excelent First class experience, but rather by Suborbital flight (even without meal) which will bring you there in 2hours.
The truth is, Adobe's engineering incompetence aside, Flash is a lot, lot better to make programs with than HTML5. Silverlight is a lot, lot better to make programs with than HTML5. Java, C#, Python, Ruby, C++ are all, as a whole, a lot, lot better programming languages than Javascript.
Imagine replacing DVDs with 8 tracks. That's what's happening. It's a perverse scenario, but I can't understand how you can say that it's evolution, evolution is about progress, not regression.
It's Adobe's own fault for neglecting the Mac and Linux for so long, crashing browsers, etc., added with the general menace that PDFs are too and Silverlight was just too late, but let's not pretend the technology's better. It's pretty pathetic and the snail's pace progress of html5 is embarrassing.
And where's ECMAScript 5? What the hell has happened to that, it seems to have dropped off the planet!