mico
07-14-2008, 10:04 PM
$4 has no property (null)
"__LZtrackgroup",function($1,$2){
for(var $3=0;$3<$1.length;$3++){
var $4=$1[$3];if($4&&$4.visible){//modified
var $5=$4.getMouse("x");if($5>0&&$5<$4.width){
var $6=$4.getMouse("y");if($6>0&&$6<$4.height){
$2.push($4)
}}}}}
i always see a $4 has no property
"__LZtrack",function($1){
var $2=[];for(var $3 = 0;$3<this.__LZactivegroups.length;$3++){
//for(var $3 in this.__LZactivegroups){//modified from interator to index
var $4=[];var $5=this.__LZactivegroups[$3];if($5){
should functions also be visited in lztrack() ?
after replace the iterator with a loop using index,the error never happens
"__LZtrackgroup",function($1,$2){
for(var $3=0;$3<$1.length;$3++){
var $4=$1[$3];if($4&&$4.visible){//modified
var $5=$4.getMouse("x");if($5>0&&$5<$4.width){
var $6=$4.getMouse("y");if($6>0&&$6<$4.height){
$2.push($4)
}}}}}
i always see a $4 has no property
"__LZtrack",function($1){
var $2=[];for(var $3 = 0;$3<this.__LZactivegroups.length;$3++){
//for(var $3 in this.__LZactivegroups){//modified from interator to index
var $4=[];var $5=this.__LZactivegroups[$3];if($5){
should functions also be visited in lztrack() ?
after replace the iterator with a loop using index,the error never happens