Flash加入收藏夹函数,设为首页函数,判断输入是否为数字的函数
设置首页:
btn.onRelease{ geturl("javascript :document.body.style.behavior=\"url(#default#homepage)\";document.body.sethomepage(\http://www.flashas.net \)", "_self"); } 加入收藏夹:
btn.onRelease{ geturl("javascript :window.external.addfavorite(\"")", "_self"); } 判断输入是否为数字的函数:
btn.onRelease{ if(Number(pass)==NaN){ //判断输入是否为数字 pass=""; }