Bonjour,
J'ai un problème pour rediriger mon lien d'une animation menu flash sur une Iframe de dreamweaver, la fonction geturl et target ne fonctionne pas. Voici le code

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
link = new Array();
frame = new Array();
//
link[1] = "category1.htm";
link[2] = "category2.htm";
link[3] = "category3.htm";
link[4] = "category4.htm";
link[5] = "category5.htm";
link[6] = "category6.htm";
// Link Address
frame[1] = "I1";
frame[2] = "_self";
frame[3] = "_self";
frame[4] = "_self";
frame[5] = "_self";
frame[6] = "_self";
// Target Frame
numOfMenu = 6;
// ¸Þ´º °³¼ö
heightOfImage = 200;
 
speed = [4, 2, 6, 9, 3, 4];
 
imageY = 20;
 
_global.active = PageNum;
_global.subActive = subNum;
_global.over = active;
for (i=1; i<=numOfMenu; i++) {
this[i].bg.onRollOver = function() {
_global.over = this._parent._name;
};
this[i].bg.onRollOut = this[i].bg.onDragOut=function () {
_global.over = active;
};
this[i].bg.onRelease = function() {
getURL(link[this._parent._name], frame[this._parent._name]);
};
this[i].onEnterFrame = function() {
if (over == this._name) {
this.direction = "next";
this.nextFrame();
} else {
this.direction = "prev";
this.prevFrame();
}
};
}
this.onEnterFrame = function() {
for (i=1; i<=6; i++) {
this["image"+i]._y += (-over*heightOfImage+imageY-this["image"+i]._y)/speed[i-1];
}
};