removed flash.geom.Point reference to make it more abstract