ok its working
and Tracy you were right there was a problem with the requires .
i added something to your function .
it draws the extent of the points that are concluded in the cluster you hover on.
clusterLayer.on(mouse-over", function (a)
{
if(clusterExtentGraphic != undefined)
{
map.graphics.remove(clusterExtentGraphic);
}
var geo = a.graphic.attributes.extent;
if (geo != undefined)
{
var lineSymbol = new esri.symbol.SimpleFillSymbol(esri.symbol.SimpleFillSymbol.STYLE_NULL,
new esri.symbol.SimpleLineSymbol(esri.symbol.SimpleLineSymbol.STYLE_DASH,
new dojo.Color([0, 0, 0]), 2));
var extent = new Extent(geo[0], geo[1], geo[2], geo[3], new SpatialReference({ wkid: 2039 }));
clusterExtentGraphic = new Graphic(extent, lineSymbol);
map.graphics.add(clusterExtentGraphic);
}
});
thanks ,
Avi Saroussi
Raven Radio.