I am using my Mac, and have Adobe Flash CC 2015. I know the general concept of making buttons and navigation, but I encountered a problem when it came to the "sleep" button. Now my, variable for the "Day" is Day_Number. I pressed the sleep button and entered in the actions window:
on(release)
{
Day_Number=int(Day_Number+1);
}
And whenever I try this it says error. Is there another command to use for this?