Salut ,
je connais pas grand chose en AS mais d'après moi
le code suivant permet lorsque l'on clique sur un objet d'aller a l'étape qui lui correspond.
Moi j'aimerai que lorsque l'on clique sur l'objet l'utilisateur soit dirigé vers une page php mais je sais pas ou mettre le getURL
(avant j'ai deux autre boucles une hover , une autre out et num_pic = 4; )
merci
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 // RELEASE for (i=1; i<=num_pic; i++) { this["item"+i].onRelease = function() { if (_root.numGallery !== this.numGallery and _root.animation == 1) { _root.animation = 0; _parent["item"+_root.numGallery].gotoAndPlay("s2"); _root.menu["item"+_root.link_prev].gotoAndPlay("s2"); _root.menu2["item"+_root.link_prev].gotoAndPlay("s2"); _root.link = this.link_num; _root.link_prev = this.link_num; _root.part = _root.nodXML.childNodes[(_root.link-1)].childNodes[this.numGallery].attributes.name; _root.numGallery = this.numGallery; _root.numGallery_prev = this.numGallery; _root.play(); } }; }
Partager