0
我有一个简单的表单,我在Flash中创建并设置它,以便您可以从一个字段选项卡到另一个字段。问题是当我选择其中一个字段时,多行文本框,它从该字段的第二行开始。如果我点击文本框,它会进入第一行。as3 tabbing到下一个表单字段从第二行开始
任何想法如何我可以解决这个问题?
的代码非常简单:
_styleLibForm.tabChildren = TRUE;
_styleLibForm.first_name.tabIndex = 1;
_styleLibForm.first_name.tabEnabled = true;
_styleLibForm.first_name.focusRect = true;
_styleLibForm.city.tabIndex = 2;
_styleLibForm.city.tabEnabled = true;
_styleLibForm.city.focusRect = true;
_styleLibForm.description.tabIndex = 3;
_styleLibForm.description.tabEnabled = true;
_styleLibForm.description.focusRect = true;
_styleLibForm.email.tabIndex = 4;
_styleLibForm.email.tabEnabled = true;
_styleLibForm.email.focusRect = true;
我遇到的问题不在于它没有选项卡,它只是在错误的选项卡到多行字段时出错。而不是从文本框的第一行开始,它从第2行开始。 – pfunc 2011-01-22 17:01:22