Particle Emitter Help

Hi there,
I am having trouble manipulating, in fact even accessing a particle emitter.

function Start () 
{
	var particleData = gameObject.GetComponent(ParticleEmitter);	
	particleData.emit = false;
	particleData.localVelocity = Vector3(10, -1, 0);
}

This script, attached to a particle emitter does nothing.

:?

Are you using an actual ParticleEmitter (from the old legacy particle system), or the new Shuriken particle system (which you can access with the ParticleSystem component)?

Is there any error in the console, or it just doesn’t do anything?