Copy link to clipboard
Copied
In a pure AS3 project, is there a way to add use an image placed in the library/ Flex/AIR SDK compiler path instead of text as a radio button label?
I've tried substituting character may unicode like:
rb1.label = String.fromCharCode("0x2592");
But how this displays is dependent on the device, font character availability. Displays unpredictably.
Would prefer anyway to use an image that I can create in AI.
Any help appreciated.
Why not just ignore trying to conquer the label and add an image where the label would go normally?
Copy link to clipboard
Copied
Why not just ignore trying to conquer the label and add an image where the label would go normally?
Copy link to clipboard
Copied
OK. I tried this, and it works.
(Hopefully, the image will display in the same location, next to the radio button, on different devices.)
Thank you.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now