Open Espigah opened 10 years ago
var hasGetTargtMethod:Bool = Reflect.hasField(event, "get_target");
var targetDisplayObject = hasGetTargtMethod ? event.get_target() : event.target;
localPoint = _platform.convertToHitTestingSpriteSpace(localPoint, targetDisplayObject, _platform.hitTestingSprite);
[Fault] exception, information=ReferenceError: Error #1069: Property get_target not found on flash.events.MouseEvent and there is no default value.
Class: cocktail.port.platform.flash_player.MouseListener line:198
localPoint = _platform.convertToHitTestingSpriteSpace(localPoint, event.get_target(), _platform.hitTestingSprite);