Autor Zpráva
Petr1234
Profil *
Muzu nejak dat tlacitku prikaz, ze kdyz neni urcita podminky splnena, tak se proste neodesle? Mam tedka:

on (release) {
if (_root.price.priceStatus == 0) {
ZDE DAT NECO AT NENI TLACITKO "AKTIVNI"
} else {
getURL (baseurl+"/index.php?page=home");
}
}

dIKY pETR
Suk12
Profil
zkus return false;
Suk12
Profil
jezis, omlouvam se, nevsiml jsem si ze jde o actionscript, myslel jsem ze to je JS :)
Steve
Profil
co treba to zkusit z druhy strany:

on (release) {
if (_root.price.priceStatus != 0) {
getURL (baseurl+"/index.php?page=home");
}
}
FlashManiac
Profil
No jde to takto

on (release) {

if (_root.price.priceStatus == 0) {
this.enabled=false;
} else {
getURL (baseurl+"/index.php?page=home");
}
}
Toto téma je uzamčeno. Odpověď nelze zaslat.

0