Topic: Muting the LCD using ["ASnative"](5,20)
I'm able to successfully read the LCD brightness setting using:
_getLCDMute = ["ASnative"](5,19); // get the value of the LCD "mute"
debText = String(_getLCDMute());
If I change the LCD brightness through the control panel, debText changes accordingly -- no problem.
But, I've been unable to set the brightness using:
_setLCDMute = ["ASnative"](5,20); // set the value of the LCD "mute"
_setLCDMute(1);
I also tried:
["ASnative"](5,20)(1);
which didn't work either.
I'm new to Flash, not sure if I'm doing something wrong. I'm using Flash MX version 6.0 (hence the AS2 syntax -- using ASnative(5,19) instead of ["ASnative"](5,19) didn't work.
Any clues? Thanks.
--Scott