Bonjour à tous, en tant que débutant, j'ai récupéré sur un site une source pour faire défiler un texte en AS.
Le souci c'est que mon lien dans mon texte ne fonctionne pas et je ne sais pas pourquoi alors que le code original fonctionne (j'ai modifié un peu la source pour l'adapter à mon cas).
Pouvez vous m'aider SVP ?

J'ai collé ce code sur la première image clé de ma scene
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
 
monTexte = "<p>mon text : <a href='http://www.google.fr' target='_blank'>Cliquez ici pour plus d'informations</a> suite du texte</p>";
 
vx = 1.5;
 
monStyle = new TextField.StyleSheet();
monStyle.setStyle("p", {fontFamily:'Verdana', fontSize:'11px', color:'#FFFFFF'});
monStyle.setStyle("a", {fontFamily:'Verdana', fontWeight:'bold', fontSize:'11px', color:'#FFFFFFF'});
monStyle.setStyle("a:hover", {fontFamily:'Verdana', fontWeight:'bold', fontSize:'11px', textDecoration:'underline', color:'#FFFFFF'});
 
 
this.createEmptyMovieClip("monClip", 0);
monClip.cacheAsBitmap = true;
 
monClip.createTextField("monChampDeTexte", 0, 500, 0, 0, 0);
 
with (monClip.monChampDeTexte) {
autoSize = true;
html = true;
styleSheet = monStyle;
htmlText = monTexte;
selectable = false;
border = false;
largeur = _width;
hauteur = _height;
}
 
xRight = 700;
xLeft = 100;
 
this.createEmptyMovieClip("masque", 1);
 
masque._x = monClip._x=xLeft;
masque._y = monClip._y=408;
 
masque.beginFill(0, 100);
masque.moveTo(0, 0);
masque.lineTo(xRight-xLeft, 0);
masque.lineTo(xRight-xLeft, hauteur);
masque.lineTo(0, hauteur);
masque.lineTo(0, 0);
masque.endFill();
 
blurX = 30; 
filtre = new flash.filters.BlurFilter(blurX, 0, 1);
masque.filters = [filtre];
 
monClip.setMask(masque);
 
monClip.onEnterFrame = function() {
this._x -= vx;
if (this._x<xLeft-largeur-500) {this._x = xRight-500;}
};
Merci d'avance