Now I know the reason why I felt uncomfortable about ActionScript. Flash folks were always convincing me that AS3 is perfectly fine and kickass language. Next time I'll just link this.
There's nothing stopping someone from writing, for example, an AS3 compiler for the JVM that interacts with Java libraries in the same way JRuby does.