Add class actionscript