External sound question

Can you make a button funtion from this code?..
this is on my first frame.

var my_sound:Sound = new Sound();
my_sound.loadSound(“jazz.mp3”, true);
my_sound.onSoundComplete = function() {
my_sound.start(0, 99);
};

Mark Lane