PDA

View Full Version : Flex Application Gradient?


dColumbus
04-12-2008, 11:15 AM
Dude,

I've tried everything it seems and I can't seem to get rid of the Gradient background... I've given the application a background color and I get a gradient look, not a solid color. is there something that I need to put in the HTML?

This is so frustrating!

unitedlocalbands
04-12-2008, 06:07 PM
Post the code from your .mxml file

xbit
04-15-2008, 10:31 PM
I had the same question and google pointed me here. Since there was no reply I was forced to read the docs.
http://livedocs.adobe.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000636.html

Basically you need to add backgroundGradientColors="[0x??????, 0x??????] where both values are the same solid color you want.

EndlessLine
04-16-2008, 06:18 PM
Try this, its pretty awesome for stuff like this (hopefully)

http://examples.adobe.com/flex3/consulting/styleexplorer/Flex3StyleExplorer.html#app=a712&19f4-selectedIndex=4&1b1e-selectedIndex=0&b108-selectedIndex=0