как-то так... для цитирования убирал лишнее, может убрал чего важное... посмотрите...

Код:
initialize('primary');
function initialize(step){
switch(step){
case 'primary':
_root.createEmptyMovieClip("Map2",49);
map = _root.Map2;
map.createEmptyMovieClip("surface",51);
map.surface.createEmptyMovieClip("container",53);
map.createEmptyMovieClip("titles",52);
loadMap(map.surface.container, '1.jpg');
break;
case 'after_map_load':
map.onPress = function(){
setPoint(id, title, Cursor._x, Cursor._y); // _root.Cursor - собственный курсор
}
break;
}
}
function loadMap(mc, swf){
var my_mcl = new MovieClipLoader();
myListener = new Object();
myListener.onLoadComplete = function (target_mc){
mainInterval = setInterval(initialize, 1000, 'after_map_load');
}
my_mcl.addListener(myListener);
my_mcl.loadClip(swf, mc);
}
points_id = 0;
point_size = 10;
function setPoint(id, title, crsx, crsy){
map.titles.createEmptyMovieClip("title_"+id,100+points_id);
obj = eval('_root.Map2.titles.title_'+id);
points_id = points_id+2;
obj._x = crsx;
obj._y = crsy;
crsx = 0;
crsy = 0;
obj.createTextField("str",200+points_id,0,0,300,20);
with(obj.str) {
listTxtStyle = new TextFormat();
with (listTxtStyle) {
font = "Verdana";
size = 13;
color = 0x000000;
}
selectable= false;
_highquality = 1;
html = true;
hid = id;
htmlText = "<a href='javascript:gotoHotel("+id+")'>"+title+"</a>";
setTextFormat(listTxtStyle);
}
obj.onPress = function(){
trace(this);
}
obj.onRelease = obj.onReleaseOutside = function(){
}
}
stop();