mail.mxml:
import mx.controls.Alert;
public function openUrl():void{
navigateToURL(new URLRequest(""), "_blank");
}
paddingTop="10" paddingLeft="10" paddingRight="10" paddingBottom="10" fontSize="12">
trigger="{myButton}" triggerEvent="click" valid="Alert.show('出生日期格式正确!');"/>
minValue="18" maxValue="50" domain="int" trigger="{myButton}" triggerEvent="click" valid="Alert.show('数字验证正确!');"/>
tooShortError="字符串太短了,请输入最少4个字符. "
tooLongError="字符串太长了,请输入最长20个字符. "
minLength="4" maxLength="20"
trigger="{myButton}" triggerEvent="click"
valid="Alert.show('字符串格式正确!');"/>
trigger="{myButton}" triggerEvent="click"
valid="Alert.show('邮编格式正确(外国人用的)');"/>
阅读(601) | 评论(0) | 转发(0) |