0 Replies Latest reply on Mar 25, 2010 2:38 AM by Inotive_SJ

    Change styles depending on hostname

    Inotive_SJ

      I have created a simple flex project, that shows the user some information.

      I have embedded the flex on several pages.

       

      Depending on which hostname there is, I would like to change the styles of some Label elements.

      I succeeded in changing the color using the StyleManager, but I lose my font settings (size, weight, etc).

       

      How can I make sure that a default style will be present and that only the color changes when I switch the hostname?

       

      Thanks in advance.

       

      SJ