[SOLVED] Can't change background color


(Bora Kasap) #1

Since i’ve formatted and reinstalled whole flashdevelop and flashpunk stuff, i’m facing weird problems. That’s one of them, i can’t change background color, it is always gray.


(Martí Angelats i Ribera) #2

If i’m not wrong it was done by using

FP.screen.color = 0xFF0000;

(Zachary Lewis) #3

That gray color you see is actually the FlashPunk background. It draws over the actual Flash background (which is probably red if you resize your window). Use @copying’s solution to set your color within FlashPunk.


(Bora Kasap) #4

i was using it actually, i think my mind is so complicated in this times, sorry for that useless topic, i was lookin for something like “FP.stage.color”, i was forgot Screen class completely. :S