var sou:Sound = new Sound();
sou.attachSound("sound");
A_btn._visible = true;
B_btn._visible = false;
A_btn.onRelease = function()
{
var m = sou.position / 1000;
B_btn._visible = true;
A_btn._visible = false;
sou.start(m);
};
B_btn.onRelease = function()
{
sou.stop();
B_btn._visible = false;
A_btn._visible = true;
};