Thanks Richard, It looks I can handle the external CSS file hardly. I would like to allow Administrator to change the style in CSS by using notepad, and run the application to get updates directly. Otherwise, there is no benfits to use CSS in Flex. Just like HTML.... -_-
I extremely hople this can be done in Flex 3. Cheers --- In [email protected], "Richard Rodseth" <[EMAIL PROTECTED]> wrote: > > 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 [email protected], "Samuel R. Neff" > > <srneff.lists@> 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 careers@ > > > > > > > > -----Original Message----- > > > From: [email protected] > > [mailto:[EMAIL PROTECTED] On > > > Behalf Of flexawesome > > > Sent: Wednesday, November 14, 2007 9:28 PM > > > To: [email protected] > > > 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; > > > } > > > > > > > > > > > > > >

