|
-
Well i found the solution myself and here it is.
var control_box = new ComboBox();
control_box.dropdownWidth = 210;
control_box.setSize(130, 22);
control_box.dropdown.rowHeight = 25;
control_box.move(a_value,b_value );
for(var i:int = 0;i <operating_systems_value_array.length;i++)
{
/*
This next line just loads images (loaders) from an array (this is a dictionary object that contains the images to quickly change between)
*/
the_op_sys_image = getAndLoadAnImage('operating_sys_icons/' + operating_systems_value_array[i] + '.gif');
control_box.addItem( { label: operating_systems_value_array[i], icon:the_op_sys_image} );
}
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|