title = songInfo[songNum].title;{ this._parent.panier.commande1.text = com1; this._parent.panier.pricom1.text = prix1; if (prix1 == "45"){ this._parent.panier.lice45_1.enabled = true; this._parent.panier.lice69_1.enabled = true; this._parent.panier.lice79_1.enabled = true; this._parent.panier.lice99_1.enabled = true; }else if (prix1 == "0"){ this._parent.panier.lice45_1.enabled = false; this._parent.panier.lice69_1.enabled = false; this._parent.panier.lice79_1.enabled = false; this._parent.panier.lice99_1.enabled = false; } this._parent.panier.btn_panier.onPress = function(){ prix1 = "45"; com1 = title; trace(com1); trace(this._parent.panier.commande1.text); } this._parent.panier.eff_com1.onPress = function(){ com1 = "Sélectionnez un morceau"; prix1 = "0"; } this._parent.panier.lice45_1.onPress = function(){ prix1 = "45"; } this._parent.panier.lice69_1.onPress = function(){ prix1 = "69"; } this._parent.panier.lice79_1.onPress = function(){ prix1 = "79"; } this._parent.panier.lice99_1.onPress = function(){ prix1 = "99"; } }
title = songInfo[songNum].title;{ this._parent.panier.commande1.text = com1; this._parent.panier.pricom1.text = prix1; this._parent.panier.btn_panier.onPress = function(){ prix1 = "45"; com1 = title; trace(com1); trace(this._parent.panier.commande1.text); } this._parent.panier.eff_com1.onPress = function(){ com1 = "Sélectionnez un morceau"; prix1 = "0"; } this._parent.panier.lice45_1.onPress = function(){ if ((com1 title) & (prix1 "45")){ prix1 = "45"; }else if ((com1 "Sélectionnez un morceau") & (prix1 "0")){ this._parent.panier.lice45_1.enabled = false; } } this._parent.panier.lice69_1.onPress = function(){ if ((com1 title) & (prix1 "45")){ prix1 = "69"; }else if ((com1 "Sélectionnez un morceau") & (prix1 "0")){ this._parent.panier.lice69_1.enabled = false; } } this._parent.panier.lice79_1.onPress = function(){ if ((com1 title) & (prix1 "45")){ prix1 = "79"; }else if ((com1 "Sélectionnez un morceau") & (prix1 "0")){ this._parent.panier.lice79_1.enabled = false; } } this._parent.panier.lice99_1.onPress = function(){ if ((com1 title) & (prix1 "45")){ prix1 = "99"; }else if ((com1 "Sélectionnez un morceau") & (prix1 "0")){ this._parent.panier.lice99_1.enabled = false; } } }
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question