Thanks Helen,

I managed to trace the problem to a custom scrollbar that is being used
elsewhere in the swf, which - to make things even more complex - had broken
assets.

After fixing those custom scrollbar assets, the comboBox now does show all
items and the scrolling works - only there is no scrollbar. Apparently this
custom scrollbar doesn't work with the comboBox; we're trying other ways of
implementing the scrollbar now...

Best,
nobski


----- Original Message ----- 
From: "Helen Triolo" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <[email protected]>
Sent: Friday, June 02, 2006 6:05 PM
Subject: Re: [Flashcoders] ComboBox won't scroll


> 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
>


_______________________________________________
[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

Reply via email to