title: flex 3 retrieving colors values from MySql database with AMFPHP to style flex 3 Components at runtime
body: <p>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.)</p>
  
  <p>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?</p>
  
  <p>Does anybody have an example how i could accomplish this.</p>
  
  <p>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.</p>
  
  <p>meaning</p>
  
  <p>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.</p>
  
  <p>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.</p>
  
  <p>also.</p>
  
  <p>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.</p>
  
  <p>i hope its clear what i'm trying to do.</p>
  
  <p>Can anybody help me out with a good example?</p>
  
  <p>Thank </p>
  
  <p>DJ</p>