I can't reproduce your problem here (Flash 8, Win2k). With a combobox
cb and two clips, add3 and add4, on stage, the combobox displays and
works fine when add4 is clicked (no matter the order or number of times
either button is clicked):
var a:Array = ["a", "b", "c"];
cb.dataProvider = a;
add3.onRelease = function() {
cb.addItem("d");
cb.addItem("e");
}
add4.onRelease = function() {
cb.addItem("f");
cb.addItem("g");
cb.addItem("h");
cb.addItem("i");
cb.rowCount = 3;
}
Helen
--
http://flash-creations.com
http://i-technica.com
nobski wrote:
Very simple little problem probably and hopefully:
When adding items to a ComboBox using addItem() and setting its rowCount to
anything less than the number of added items, the ComboBox renders empty
completely and shows no scrollbar or items at all.
I cannot find any method of property that could cause this to happen or change
this.
Any ideas on what I might be doing wrong?
Flash Pro 8 on win2K..
Cheers,
nobski
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com