At 01:53 PM 12/13/2005, Chris Bare wrote:
The V2 component ComboBox does not send a change event if you select the value
that is already select. I am using a combo box to set the font size in a
textField. In my case, the user may have selected several characters of
different font sizes. I can't select multiple sizes in the combo box, so I
just select the size of the first character. Now if the user wants to set all
the characters to the size of the first, they can't.
I've looked at the itemRollOver event, but that only gets sent if the user
releases the mouse between opening the comboBox and making the selection.
I also tried "unsetting" the list selection, but it won't let you do this.

I have seen this work in the Flash Text Editor, but can't figure out what they
are doing. Any suggestions?
--

When you say V2 of the combo box, what version are you referring to? I just moved an app from MX to MX 2004 (Version 7) and had to change the "change" for a combo box with a list of dates to this:

var cboIssueDatesLstnr:Object = new Object();

cboIssueDatesLstnr.change = function(eventObj){
    var eventSource = eventObj.target;
    var theSelectedItem = eventSource.selectedItem;
    var theSelectedItemLabel = theSelectedItem.label;
         getStories( theSelectedItem.data );
         BkIssPrntBtn( theSelectedItem.data, _root.lOKtoPrint );
         _root.dtDate = theSelectedItem.data ;
}

More to the point, does the textField allow multiple font sizes, if it is not HTMLText?

Don't know if I've been helpful - Miles

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to