I think the issue is with the 'better technology' bit. Flash simply isn't a better technology than HTML5. They are, as they say, a land of contrasts, each with their own strengths and weaknesses. But where HTML5 is moving forward, steadily improving, Flash is actually getting much worse with time, supporting an ever-smaller proportion of the net, and doing so with less stability and security.