oici mon code :
stop();
glass.onPress = function() {
Mouse.hide();
this.startDrag(true, 10, 10, 740, 340);
this.swapDepths(100);
};
glass.onRelease = function() {
this.stopDrag();
Mouse.show();
trace(this._droptarget);
eval(this._droptarget).lancerSection();
};
page1.onPress = function() {
this.startDrag(true, 125, 30, 620, 250);
this.swapDepths(100);
};
page1.onRelease = function() {
this.stopDrag();
trace(this.boutoncv.consult_btn);
};
page2.onPress = function() {
this.startDrag(true, 125, 30, 620, 250);
this.swapDepths(100);
};
page2.onRelease = function() {
this.stopDrag();
trace(this.boutonport.consult_btn);
};
page3.onPress = function() {
this.startDrag(true, 125, 30, 620, 250);
this.swapDepths(100);
};
page3.onRelease = function() {
this.stopDrag();
trace(this.boutoncontact.consult_btn);
};
page4.onPress = function() {
this.startDrag(true, 125, 30, 620, 250);
this.swapDepths(100);
};
page4.onRelease = function() {
this.stopDrag();
trace(this.boutonliens.consult_btn);
};
page1.boutoncv.consult_btn.lancerSection = function() {
trace("lancerSection!");
// MovieClip.prototype.centerPopup = function(theUrl, title, w, h, features) {
// var sysW = System.capabilities.screenResolutionX;
// var sysH = System.capabilities.screenResolutionY;
// var centerx = Math.round((sysW/2)-(w/2));
// var centery = Math.round((sysH/2)-(h/2));
// getURL("javascript:void(window.open('http://aubry7.free.fr/heaj/loupe2.swf','"Mon Curiculum Vitae"','width="351", height="264", left="+centerx+", top="+centery+",screenX="+centerx+", screenY="+centery+","+features+"'));");
};
voici l'anim : http://aubry7.free.fr/heaj/marchepa.swf
donc ce que je voudrais c'est que lorsque la loupe est droppée sur le mot consulter la ouvre ma page ... pour la page cv ouvrir mon cv.swf par exemple ...
comment faire ???
merci d'avance pour votre aide !!!