added actionscript mode