- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
public function showNotAvailableAlert(str:String):void
{
var defString:String = str = "Connection with server is lost. Unfortunately you can not continue now. Please try later.";
if(str)
{
Alert.show(str, "Not connected to server");
}
else
{
Alert.show(defString, "Not connected to server");
}
}
guest 13.08.2009 10:41 # +3
lugal 13.08.2009 10:41 # 0
guest 10.09.2009 21:57 # 0
не сказал бы, что это малая народность :)
guest 13.08.2009 23:47 # 0
Alert.show("Connection with server is lost. Unfortunately you can not continue now. Please try later.", "Not connected to server");
}
guest 17.08.2009 13:52 # 0
Alert.show( (str ? str : "Connection with server is lost. Unfortunately you can not continue now. Please try later."), "Not connected to server");
}
так-то лучше
так то лучше:)
guest 29.10.2009 21:45 # 0
Alert.show( (str || "Connection with server is lost. Unfortunately you can not continue now. Please try later."), "Not connected to server");
}
dimas_art 02.02.2010 02:02 # 0