闪存错误#1010 [英] Flash Error #1010

查看:65
本文介绍了闪存错误#1010的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在输出面板中运行Flash文件(对其进行测试)时,出现以下错误

when i run my flash file (test it) in the output panel i get the following error

TypeError:错误#1010:术语未定义且没有属性.

TypeError: Error #1010: A term is undefined and has no properties.

我读到一些地方,这是由于其中一个变量设置为null引起的.查看我的代码后,我发现以下行导致了此输出

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.

我的问题是,将所选索引设置为-1是否会成为问题?

my question is, would having the selected index set to -1 be an issue ?

谢谢

推荐答案

此行上类似 arrSelectedIndex 的声音为null.追溯到应该分配的位置.如果trace语句不足以找出问题所在,请使用调试器.

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.

这篇关于闪存错误#1010的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆