studying actionscript3.0 codes