Adding an actionscript helper class