Update a/actionscript3.as

A better version.