Playing music through action script

i have this swf file where i play individual songs through actionscript

this is my code

1st frame

_root.music = new Sound();
_root.music.attachSound(“file1”);
_root.music.start(0,99);

1st button

_root.music.stop();
_root.music.attachSound(“file2”);
_root.music.start(0,99);

2nd button
_root.music.stop();
_root.music.attachSound(“file3”);
_root.music.start(0,99);

if i start the movie, it plays file1…duh i press button 1, it plays file2…and so on…this whole thing works locally, but it doesn’t work on the internet. i posted it up on my webpage when it first loads, it plays like 1 sec of the music file and stops -_- why?

Skip the _root;)
firstframe

music = new Sound(this);
music.attachSound("file1");
music.start(0,99);

first button

music.stop();
music.attachSound("file2");
music.start(0,99);

scotty(-: