 
         // There's no fringe with the same identifier, so we need to create the tile.
         var img :Bitmap = null;
-        getTileImageHelper1(img, hashValue, masks, fringers, 0, function (result :Bitmap) {
+        getTileImageHelper1(img, hashValue, masks, fringers, 0, function (result :Bitmap) :void {
                 frTile.setImage(result);
             });
         fringes.put(frTile, new WeakReference(frTile));

        return "[base=" + baseset + ", pri=" + priority + ", bits="
            + bits.toString(16) + "]";
    }
}
        NORTHWEST | WEST | SOUTHWEST | SOUTH | SOUTHEAST | EAST | NORTHEAST,

        // all the directions!
        NORTH | NORTHEAST | EAST | SOUTHEAST | SOUTH | SOUTHWEST | WEST | NORTHWEST
    ];

    // A reverse map of the above array, for quickly looking up which tile
