But see this: http://www.onflex.org/ted/2007/01/flex-201-understand-runtime-css.php
I haven't done this yet myself. On 11/14/07, flexawesome <[EMAIL PROTECTED]> wrote: > > > > > > > > really? that is crap! hummm.... > > --- In flexcoders@yahoogroups.com, "Samuel R. Neff" > <[EMAIL PROTECTED]> wrote: > > > > > > CSS is loaded at compile time, not runtime. > > > > > > ------------------------------------------- > > We're Hiring! Seeking a passionate developer to join our team > building Flex > > based products. Position is in the Washington D.C. metro area. If > interested > > contact [EMAIL PROTECTED] > > > > > -----Original Message----- > > From: flexcoders@yahoogroups.com > [mailto:[EMAIL PROTECTED] On > > Behalf Of flexawesome > > Sent: Wednesday, November 14, 2007 9:28 PM > > To: flexcoders@yahoogroups.com > > Subject: [flexcoders] External StyleSheet In Application > > > > hey there, > > > > I added stylesheet into my application as below, but it does change > > the color or size in my application. > > > > I have to recompile the application to take effect. Is there > anything > > wrong? > > > > Thanks > > > > > > <mx:Style source="main.css"/> > > > > =============== in CCS file ============== > > > > Application { > > backgroundColor: #ffffff; > > backgroundGradientColors: #ffffff, #ffffff; > > backgroundGradientAlphas: 1, 1; > > themeColor: #009dff; > > color: #0b333c; > > } > > > > > > >