ouvrir une image après clic
Bonjour,
Je suis débutant en flash et je souhaite modifié le code d'un site que j'ai acheté.
Voici le bout de code en question :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
| <
onClipEvent(load){this.t.v = _root.services_txt9;}
onClipEvent (load) {if(this.t.v == undefined or this.t.v ==""){this._visible=0;}}
on (rollOver) {this.gotoAndPlay("s1");}
on (rollOut) {this.gotoAndPlay("s2");}
on (release) {
_root.scrHEIGHT = 250;
_root.scroller._x = _root.scroller_x;
_root.scroller._y = _root.scroller_y;
_root.scroller.scroller.gotoAndStop(2);
_root.TM_title = _root.services_readmore_title1;
_root.TM_content = _root.services_readmore_txt1;
_root.scroller.gotoAndPlay("s1");
}
> |
Le site est accompagné d'un fichier text.txt qui facilite grandement l'administration ou l'on rentre titre, nom de bouton et contenus. Ici, il va chercher le titre et le contenu. J'aimerais changé cela par une image.
Est-ce possible?
Merci