SendMessage not working after creating a prefab object

function StartReady(){
	var Charlie = Instantiate(Resources.Load("CharliePrefab"), Vector3 (-13, transform.position.y, 0.02),           transform.rotation);
	isReady = true;
	Charlie.gameObject.SendMessage("GameObjectLocate",this);
}
var EggCollider : GameObject;
var image_index=1;
var Timer=0;
function GameObjectLocate(Target){
	EggCollider=Target;
}

I have an object that I create based on a prefab, this prefab has a script with a function called GameObjectLocate, when I try to call this function, it doesnt work. It says that the gameObject hasn’t been set even though I set it when I create the prefab

also, the prefab has no box collider, i don’t know if that makes a difference

What type is Charlie? You could try Charlie.SendMessage or Charlie.BroadcastMessage or Charlie.gameObject.BroadcastMessage and see if any of those work.