I'm making a social community application with profile. User must be able to style their profiles. That's why i'm looking for a way to store and retrieve color values from a MySql database to style flex 3 components at runtime. Does anybody know how i could accomplish this. (I don't want to use Runtime css swf styles.)
My guess is that i must store and retrieve hexcolor values (0xFFFFFF). and than something like getStyle and a setStyle. maybee a changehandler But how?
Herkes ben bunu başarabilir nasıl bir örnek var mı.
What i want to do is give users the ability to style their profiles via colorPickers. Than i want to store the chosen colorvalues in the DB. Next i want to retrieve the stored colorvalues form the DB when somebody visits the styled profile.
anlamı
choose border Color for a panel with a colorPicker. save the value in the DB's retrieve the panel border Color value from DB when the profile is requested form the server.
choose fill Color for a button with colorPickers. save the values in the DB's retrieve the button fill Color value from DB when the profile is requested form the server.
da.
i must say i have one profile page (template). So when a user visits another users profile page that also have been styled The colors of components must change.
i yapmaya çalışıyorum berrak ne umuyoruz.
Herkes iyi bir örnek ile bana yardımcı olabilir misiniz?
Teşekkür
DJ