Be a Supporter!

Contrast/Brightne ss with AS2

  • 521 Views
  • 2 Replies
New Topic Respond to this Topic
MichaelJ
MichaelJ
  • Member since: Mar. 2, 2009
  • Offline.
Forum Stats
Member
Level 18
Voice Actor
Contrast/Brightne ss with AS2 2010-09-12 15:57:48 Reply

Is there a way that I can use AS2 to increase the contrast of a swf file?
I have a button in the right click menu that tells a movie clip to go to the next frame which has a white box with like 7% alpha, and it does help a little, but I don't want everything to have a white tint, I want things to just be brighter. (AKA Contrast)
If there is a way to make a box that when over the stage makes things more contrasted, that would work too.

I just made my horror game too dark and you can barely see anything on other computers because my monitor is extremely bright. XD

Contrast/Brightne ss with AS2


BBS Signature
MintPaw
MintPaw
  • Member since: Jun. 11, 2006
  • Offline.
Forum Stats
Member
Level 10
Programmer
Response to Contrast/Brightne ss with AS2 2010-09-12 16:25:57 Reply

Well try this, put it on the frame:

br = new Color(this);
bt = new Object();
bt.rb = 150;
bt.bb = 150;
bt.gb = 150;
br.setTransform(bt);

This will make the game 150% brighter. Of course mess with the values.


If ya have something to say, PM me. I have a lot of time to spare.
Also never PM egg82.

BBS Signature
MichaelJ
MichaelJ
  • Member since: Mar. 2, 2009
  • Offline.
Forum Stats
Member
Level 18
Voice Actor
Response to Contrast/Brightne ss with AS2 2010-09-12 16:39:01 Reply

That will work, thanks.


BBS Signature