Changing game background color

Sorry for all the questions but this is exciting stuff and I just want to keep the momentum going.

The background behind my game is currently black. I can’t see an API function to change this to a different color so just wanted to check there isn’t one before I create a graphic or vector to change the background color.

Thanks

Paul [import]uid: 7863 topic_id: 1610 reply_id: 301610[/import]

i.e

[code]

local background = display.newRect(0,0,320,480)
background:setFillColor (254,4,45)

[/code] [import]uid: 7863 topic_id: 1610 reply_id: 4634[/import]

So you answered you own question? That should give you a red background.
Edit: I read your post again, and yes, this is one way to set the background. You could also load a background image using, display.newImage( filename ).

-Tom [import]uid: 7559 topic_id: 1610 reply_id: 4638[/import]

Thanks Tom, I just wanted to be sure I hadn’'t missed some other setting that allowed you to set the background color similar to how in a Flash movie you can set the background color.

Thanks

Paul [import]uid: 7863 topic_id: 1610 reply_id: 4639[/import]