Flash MX 2004 introduced ActionScript 2.0, a scripting language more suited to the development of Flash applications.
Since the arrival of the Flash Player 9 alpha (in 2006) a newer version of ActionScript has been released, ActionScript 3.0.