Skip to main content
Participant
December 22, 2008
Question

Help please

  • December 22, 2008
  • 5 replies
  • 422 views
Hi, a have a question...

I make a application with PHP & MySQL & XML, and i have a ComboBox & DataGrid, after I select something from ComboBox, in the DataGrid i have some dates, and I need when I click on the some dates from DataGrid to colorize my buttons :

ex: In ComboBox i have : text1
text2
text3...

when I select tex1 or text2 or text3, in the DataGrid is another : text4, text5, text6....
and I have too 50 small buttons, I NEED WHEN click to text4 to colorize my button1, click to text5 to colorize my button2 .....textN...to colorize buttonN...

How I need to do that?
This topic has been closed for replies.

5 replies

kglad
Community Expert
Community Expert
December 24, 2008
if you want to hire me to do this for you, send me an email via my website.
Aleex4Author
Participant
December 24, 2008
Thanks Kglad but something is not ok, I can't to do this...
kglad
Community Expert
Community Expert
December 23, 2008
1. your "small pieces of lands" should be movieclips

2. assign a property to each datagrid member that references your "small pieces of lands" (unless it's easy to extract those movieclip instance names from some other properties of your datagrid elements) and

3. create a color instance for your movieclip and

4. in your DGListener use the setRGB() method of the color class to "colorize" your movieclips.
Aleex4Author
Participant
December 23, 2008
A have a map with more small pieces of lands, and I have a DataGrind where is the names of the which land, I need when to select the name of land the respective piece of land to colorize in the some color.

Thanks,
kglad
Community Expert
Community Expert
December 23, 2008
what do you mean by colorize and where are the buttons?