Photoshop like Polygon lasso tool in as3