Ok risolto, forse un po arzigogolato ma
codice:
// associato al Main BOX
MovieClip.prototype.zoom=function(){
this.onPress=function(){
zoom_foto=path+substring(this.nome_pic,6,15);
getUrl(zoom_foto,"_blank")
}
}
//associato al MAIn BOX.TEMP
MovieClip.prototype.foto=function(){
clearInterval(idPreload);
trace(this._parent._name)
numero=substring(this._parent._name,4,1)
this._parent.nome_pic=eval("foto"+numero);
this.loadMovie(path+this._parent.nome_pic)
clearInterval(idPreload);
idPreload = setInterval(preload,100);
this._visible=0
function preload(){
car = this.getBytesLoaded();
tot = this.getBytesTotal();
if(car > 1024 && car == tot){
this._visible=1;
this.zoom()
clearInterval(idPreload);
}
}
// zoom
}
path="../pic/"
foto1="mini_id_hotel_01.jpg"
foto2="mini_id_hotel_02.jpg"
foto3="mini_id_hotel_03.jpg"
box1.temp.foto();box1.zoom()
box2.temp.foto();box2.zoom()
box3.temp.foto();box3.zoom()
Ciao