Mon script fonctionne parfaitement avec le fla ou avec le swf sur mon pc.
Mais il ne fonctionne pas quand je le mets en ligne.
Je n'y comprends rien.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13 ok_btn.onRelease= function() { this._visible=false; var myVars:LoadVars = new LoadVars(); myVars.onLoad = function(success) { if (success) { my_txt.text = "ça marche";//avec le fla ou en cliquant le swf sur mon pc } else { my_txt.text = "ça ne marche pas";// sur le site www.projecting-management.com } }; myVars.sendAndLoad("http://www.projecting-management.com/test.php", myVars, 'POST'); }
Merci de votre aide.
Partager