Adding actionscript mode.