mazeroth
02-24-2006, 08:08 PM
I've searched all over the place and can't seem to find a good solution for using html text in a radio button label on Flash 8.
I drag a radioButton instance to stage and call it radio. In AS, I do: radio.label = "Testing: 5³/₄";
* I removed the ';' at the end of each code so the browser wouldn't convert the code to the characters
And the label reads exactly as you see the string because it's not doing htmlText. Now, I put a label component (name it lb) on the screen, set the html property to true and set it's text to the same string. It displays "Testing: 5³/₄" correctly.
Now, I do radio.label = lb.text and the radioButton label works correctly because the text has already been formatted.
Is there a switch that I am not aware of to turn on htmlText for radioButtons without doing this work around? There's no radio.html = true, I've tried a lot of things and none seem to work. I need a solution that doesn't involve changing Flash 8's system files. Thanks.
I drag a radioButton instance to stage and call it radio. In AS, I do: radio.label = "Testing: 5³/₄";
* I removed the ';' at the end of each code so the browser wouldn't convert the code to the characters
And the label reads exactly as you see the string because it's not doing htmlText. Now, I put a label component (name it lb) on the screen, set the html property to true and set it's text to the same string. It displays "Testing: 5³/₄" correctly.
Now, I do radio.label = lb.text and the radioButton label works correctly because the text has already been formatted.
Is there a switch that I am not aware of to turn on htmlText for radioButtons without doing this work around? There's no radio.html = true, I've tried a lot of things and none seem to work. I need a solution that doesn't involve changing Flash 8's system files. Thanks.