Sound ON/OFF in all application
Hello again my friends...I have a problem to set sound (volume) ON or OFF in my app.
Well....I got it working without problem in a single frame.....my app have a button icon like in ANGRY BIRDS....when I click it then the sounds got off and the animation of this icon change to same but with a red cross....
but the problem is: If I set the sound OFF in the frame, when I go to next frame the sounds it's ON again and I need to set OFF in this frame too...I've tried to use global value....but I dont know how, its not working....
So I got it working too using INI file...I save the value in first frame if I click in the icon volume....then in next frame I load the value from INI....this works...but just the volume, the animation of the icon still normal, it not start with red cross...
For example: in frame one I clicked in volume icon that changed the sound to OFF and animation with red cross.....when I go to frame two, the sounds its OFF but the animation of the icon in this frame starts normal, it should start with the red cross too.....
Well...I don't know if the flags condition is changing the icon to normal..I just dont know what is the problem..
How you do to set sound OFF in all application? there's a another way to do this?
THANK YOU AGAIN MY FRIENDS