PDA

View Full Version : CheckBox label clipping


swenson
01-16-2006, 05:29 PM
Hello,

Is there an element of the CheckBox component that I can script to control the character length of the label? I am pulling information from an .xml file for the label names of my check boxes and my check box labels keep clipping the text.

Here's the code I am using if it helps:
var item_mc = menu_mc.createClassObject(mx.controls.CheckBox, "check_mc"+item_count, item_count, {label:address, selected:false});
item_mc._y = item_count * item_spacing;
item_count++;


Any help would be greatly appreciated.

- Swenson