Thanks mercuryus,

I tried the code and attached my model to the action but it did not start a wav file. I am not sure why not.

Can you tell why you have while(player==null)?

Lawrence