The team has created a ActionScript to JavaScript compiler so it will have a future without the Flash runtime.
I talked to the flex team a couple of years ago - and they did not think this was possible. I wonder how complete it is. At the time they said though Actionscript claims to be ECMAScript it is far from Javascript in very fundamental concepts they are based on such as inheritance and encapsulation (AS) and closures (JS).
How can that be given that Adobe is killing the flash runtime?