You need to call your checkPage function after you increment your inGran variable
I also dont see why you need to pass an event into the checkPage function.Code:if (event.target.dropTarget!=null&&event.target.dropT arget.parent==Gran) { event.target.visible=false; inGran++; checkPage(); }
Does it matter which item is dropped first?




Reply With Quote