Thanks for the answer, it looks the simplest way to do the job.

Anyway, if i'm not missing anything, Adobe had made the worst project option 
when talking about personalized styles and CSS. So much have been said about 
Spark and the separation of design and logic, and the only way to apply easily 
a personalized server side persisted style is doing it manually.

I was applying styles manually parsing CSS and looking for selectors, applying 
it directly to CSS should help me a lot. Thanks Haykel.

Sorry the bad english.

Cheers,
Marco Lacava.


--- In flexcoders@yahoogroups.com, Haykel BEN JEMIA <hayke...@...> wrote:
>
> Hi,
> 
> you could put in 'mycss.css' the default settings and then with PHP only
> send the values that are specific for the user in a simple format and apply
> them with 'styleManager.setStyleDeclaration'.
> 
> Haykel Ben Jemia
> 
> Allmas
> Web & RIA Development
> http://www.allmas-tn.com
> 
> 
> 
> 
> On Fri, Sep 3, 2010 at 1:54 PM, Ghost Hack <ghoxth...@...> wrote:
> 
> >
> >
> > Hi people,
> >
> > i'm having some trouble while using the tag <fx:Style
> > source="assets/mycss.css" />. When I generate a release of my project, Flex
> > 4 embed my CSS file into compiled application, while i want to use PHP to
> > generate dynamic CSS based on the user configuration in database.
> >
> > Is there any workaround i'm missing?
> >
> >
> > Thanks in advance,
> > Marco Lacava.
> >  
> >
>


Reply via email to