限制Flash中所有的动态文本输入框只允许输入数字的代码
所属栏目: Flash | 更新时间:2015-8-12 | 阅读:4478 次
TextField.prototype.onChanged = function()
{
if (shuru_txt.text != "-" && isNaN(shuru_txt.text))
{
shuru_txt.text = "";
}
};//限制文本框输入只能是数字
{
if (shuru_txt.text != "-" && isNaN(shuru_txt.text))
{
shuru_txt.text = "";
}
};//限制文本框输入只能是数字

陕ICP备13005001号-1
陕公网安备 61102302611024号
工商监管