How to SetTrigger all colliders with a specific name

Hi.
Is it possible to find all GameObjects in my scene called like “Floor” for example and set the “IsTrigger” to true on them?

var FloorArray : GameObject;//Declare an array, to be filled later
FloorArray = GameObject.FindGameObjectsWithTag(“Floor”);//fill the array

function SetFloorTrigger()
{
	for(var CurrentFloor : GameObject in FloorArray)//iterate through the contents of your array, "CurrentFloor" is a temporary name that references each GameObject inside the Array
	{
		CurrentFloor.collider.isTrigger = true;
	}
}