문제
when i run my flash file (test it) in the output panel i get the following error
TypeError: Error #1010: A term is undefined and has no properties.
i read some where, that this was caused because one of the variables is set to null. after looking at my code i found out that the following line was causing this output
arrSelectedIndex[i] = -1;
this is later on used as the selected index in a group of radio buttons.
my question is, would having the selected index set to -1 be an issue ?
thanks
해결책
Sounds like arrSelectedIndex
is null on this line. Trace back to where it is supposed to be assigned. Use the debugger if trace statements aren't enough to figure out what's wrong.
다른 팁
맵핑 된 레이아웃 폴더 안에 넣으면 모듈을 추가 할 필요가 없습니다.
제휴하지 않습니다 StackOverflow