added actionscript support