Add an audioclip to a prefab.. then instantiate the prefab and play the clip via script

I guess the question says it all. I'm trying to add an audioclip to a prefab, then instantiate the prefab in script and then play the clip via script when certain events happen. I want more than one clip available for my prefab as well. I can get this working for items that are added to my scene staticly, but not instantiated on the fly.. the clip just doesn't play.

Anyone know how to do this?

Just make sure the prefab has an audio source attached to it. The in the script

var soundName : AudioClip;

then when you want the sound to play add the next line:

audio.PlayOneShot(soundName);