This is Interesting: Free Magazines for Graphics designers and webmasters
Home > Archive > Flash Site Design > August 2006 > COMBOBOX PROBLEM
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| MEDIAJP 2006-08-18, 6:20 pm |
| Hi. I've a problem with comboBox in Flash 8. I can modify the text font, color,
and smoothing in the dropdownlist, but, when I select an Item, the dropdownlist
closes and appears at comboBox the selecteditem but with a standard combobox
font type and standard combobox font color and with no smoothing. I tried a lot
of thins to correct this, but without luck. How I can change the font
properties when the dropdownlist is closed?. Can somebody hels me?.
I give you the jpg to view the problem:
http://www.digitecmedia.com/combobox/combobox_1.jpg
http://www.digitecmedia.com/combobox/combobox_2.jpg
Thanks a lot.
| |
|
| Since the drop list is a list component, you need to use the list
properties. I was able to maintain the font used after selection just
like this:
my_cb.addItem({data:1, label:"One"});
my_cb.addItem({data:2, label:"Two"});
my_cb.setStyle("fontFamily", "Divine");
you can view all the available properties by opening help:
List component <00003694.html>> Customizing the List component
<00003699.html> > Using styles with the List component
MEDIAJP wrote:
> Hi. I've a problem with comboBox in Flash 8. I can modify the text font, color,
> and smoothing in the dropdownlist, but, when I select an Item, the dropdownlist
> closes and appears at comboBox the selecteditem but with a standard combobox
> font type and standard combobox font color and with no smoothing. I tried a lot
> of thins to correct this, but without luck. How I can change the font
> properties when the dropdownlist is closed?. Can somebody hels me?.
>
> I give you the jpg to view the problem:
>
> http://www.digitecmedia.com/combobox/combobox_1.jpg
> http://www.digitecmedia.com/combobox/combobox_2.jpg
>
> Thanks a lot.
>
>
|
|
|
| | Copyright 2003 - 2008 forum4designers.com Software forum Computer Hardware reviews |
|