调试一段 Flex 代码,来回好几遍都有问题,就是查不出问题在哪儿,new 出来的画面上的组件ID一直是NULL,不科学啊,不应该啊!最后终于发现问题所在,一个对象 new 了多次,show 的时候用一个,但调用对象中的方法时用另一个。所以,最好定义好的变量下次直接 COPY,切记切记!public var generalTablePanel:GeneraltablePanel = new GeneraltablePanel();public var generaltablepanel:GeneraltablePanel = new GeneraltablePanel();public var generaltablePanel:GeneraltablePanel = new GeneraltablePanel();
管理员 孟郎郎 : 2014年06月13日23:05:09 11楼
管理员 孟郎郎 : 2014年06月13日23:37:27 12楼
管理员 孟郎郎 : 2014年06月18日22:23:15 13楼
管理员 孟郎郎 : 2014年06月28日14:53:01 14楼
管理员 孟郎郎 : 2014年07月04日23:33:00 15楼
管理员 孟郎郎 : 2014年07月18日01:23:58 16楼
管理员 孟郎郎 : 2014年09月13日02:15:51 17楼
管理员 孟郎郎 : 2014年09月13日02:15:57 18楼
管理员 孟郎郎 : 2014年09月14日22:06:42 19楼
管理员 孟郎郎 : 2014年09月17日13:36:10 20楼