PDA

View Full Version : radio buttons in scrollpane component


Philip Toews
03-20-2003, 03:56 PM
I'm having difficulty getting the scrollpane component to mask radio buttons in an mc loaded into the scrollpane. The text labels do not get masked and the radio buttons themselves don't display properly when inside the scroll pane.

Odd thing is that the radio buttons are masked but their labels are not. Is it possible to embed the fonts for radio button labels?

I've posted the file if anyone cares to take a look:

scrollpane_radiobuttons.zip (http://www.teachingfish.com/assets/scrollpane_radiobuttons.zip)

Any ideas what is going on here oh great actionscript gods?

jaybee
03-20-2003, 04:25 PM
try embedding the fonts on your radio buttons like this:


radioButton1.setStyleProperty("embedFonts", true);

Philip Toews
03-20-2003, 04:52 PM
Thanks! Very elegant solution!

I also found a good thread that solves the problem in a slightly more man-handling kinda way:

here (http://www.actionscript.org/forums/showthread.php3?s=&threadid=15262&highlight=scrollpane)