PDA

View Full Version : Image as radio button label?


asscripter
06-10-2009, 08:15 PM
Hi, Can anyone guide me, how can I show an image in instead of the text in radion button label area?

Basically, I have to give user 10 image thumbnails, and user should be able to select one of them, which gets highlighted when selected. Any other suggestion, on how to implement this functionality?

asscripter
06-15-2009, 11:54 AM
As there is no reply on my question for so long, I think I should modify my question.

I am an absolute novice in Flex, can anyone guide me how can i start making a custom component, which is based upon RadioButton? Basically I am wanted to show an image instead of a text label for a radion button.

-The component should extend RadioButton. Right?
-Then how should I replace text label and show an image there?

EWN-CMI
07-04-2009, 01:56 AM
You will need to use CSS to skin your buttons. In Flex3 create a new CSS file from the File menu, select your component and then in the CSS properties window there is an option called Skins, click on the and you can apply images to each of the various button states.

Good Luck.