var playing:Boolean=true;
onKeyUp = function(){
switch(Key.getCode()){
case 32:
{
playing = !playing;
if(playing == true)
{
play();
}
else
{
stop();
}
}
break;
}
}
Key.addListener(this)
var playing:Boolean=true;
onKeyUp = function(){
switch(Key.getCode()){
case 32:
{
playing = !playing;
if(playing == true)
{
play();
}
else
{
stop();
}
}
break;
}
}
Key.addListener(this)