Jump to content

[SOLVED] hitTest problem in Flash


photo

Recommended Posts

Hello!

 

 

I can not understand how the HitTest in WidgetFlash. In one example, everything works fine with another problem in Unigine.

 

I want to implement Drag & Drop

onMouseUp = function() {
 for (var i = 0; i < 20; i++ ){
   var mc:MovieClip = _root.group['cell'+i];
   if ( mc.hitTest( mouse ) ) {
     trace(mc._name);
     return;
   }
 }
}

Link to comment
×
×
  • Create New...