文章列表
NumberValidator通过exceedsMaxError,lowerThanMinError分别设置大于最大值,小于最小值的提示信息
The <mx:NumberValidator> tag inherits all of the tag attributes of its superclass, and adds the following tag attributes:
<mx:NumberValidator
allowNegative="true|false"
decimalPointCountError=" ...
覆盖默认的.errorTip样式,设定字体大小
比如
<mx:Style>
.errorTip{
color:#FFFFFF;
fontSize:14;
fontWeight:"bold";
shadowColor: #000000;
borderColor: #CE2929;
borderStyle: "errorTipRight";
paddingBottom: 4;
paddingLeft: 4;
...
--如何从备份文件中获得数据名字
restore headeronly
from disk = '备份文件路径'
function strToD(num:String="",n:Number=2){
var nums:Array = num.split("");
var d=0;
for(var i=0;i<nums.length;i++){
var number=int(nums[i]);
var power=Math.pow(n,(nums.length-(i+1)));
d+=number*power;
...