hi,
i would like to know on how to pause a game in as3, i did b4 to put the stage frame rate to zero(0)
and it actually working. but what i wanted to have is a drop down menu. when the esc button (27 in ASCII code) was pressed a drop down menu will pop down and the game paused.
i did this code but not working :
if(e.keyCode == 27)
{
menuDown.play();
if(stage.frameRate == 24)
{
stage.frameRate = 0;
}
if(stage.frameRate != 24)
{
stage.frameRate = 24;
}
}
it pauses but the driop down menu wont come down bcoz the frame rate is zero,
hope somebody can help me here.
thanks in advanceā¦
cheers,
raphaelle