dataProvider is really simple, in fact I tried
different ways to give data to comboBox. 
The problem was there even when I tried this
<mx:Object label="Test 1" id="1"/>
<mx:Object label="Test 2" id="2"/>
<mx:Object label="Test 3" id="3"/>

I just figured that the problem only happens when I
set topMost to true. I set it to false and everything
went just fine. I guess there is a bug in topMost
feature. In fact I was able to track the problem it
only happened after I used PopUpManager.removePopUp()
method. It seemed like it was breaking dataProvider
for ComboBox. If I wasn't removing the popup ComboBox
worked okay.

For now I just don't use topMost feature.

Ulich Dima

--- Joan Tan <[EMAIL PROTECTED]> wrote:

> Can you post the code for your ComboBox and what the
> dataProvider looks
> like?
> 
>  
> 
> ________________________________
> 
> From: flexcoders@yahoogroups.com
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Dima Ulich
> Sent: Thursday, March 16, 2006 10:50 AM
> To: flexcoders@yahoogroups.com
> Subject: [flexcoders] ComboBox issue
> 
>  
> 
> Hi all,
> 
>   In my application I have a comboBox, when I click
> it
> I get this error:
> 
> RangeError: Error #2006: The supplied index is out
> of
> bounds.
>       at mx.managers::SystemManager/addChild()
>       at mx.managers::PopUpManager$/popUpWindow()
>       at mx.controls::ComboBox/getDropdown()
>       at mx.controls::ComboBox/displayDropdown()
>       at
>
mx.controls::ComboBox/downArrowButton_buttonDownHandler()
>       at
> flash.events::EventDispatcher/dispatchEvent()
>       at
> mx.controls::Button/mx.controls:Button::buttonDown()
>       at mx.controls::Button/mouseDownHandler()
>       at
> flash.events::EventDispatcher/dispatchEvent()
>       at
> mx.controls::ComboBase/textInput_mouseEventHandler()
> 
> I've tried list control instead and it worked okay. 
> I set a breakpoint on creation complete event to see
> what is going on there and I found several mistakes:
> TypeError: Error #1009: null has no properties.
> May be it has to do with the issue, I don't know.
> If anyone has any ideas why would that happen,
> please
> let me know.
> 
> Ulich Dima
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 
> 
> --
> Flexcoders Mailing List
> FAQ:
>
http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
>
http://www.mail-archive.com/flexcoders%40yahoogroups.com
> 
> 
> 
> 
> 
> SPONSORED LINKS 
> 
> Web site design development
>
<http://groups.yahoo.com/gads?t=ms&k=Web+site+design+development&w1=Web+
>
site+design+development&w2=Computer+software+development&w3=Software+des
>
ign+and+development&w4=Macromedia+flex&w5=Software+development+best+prac
> tice&c=5&s=166&.sig=L-4QTvxB_quFDtMyhrQaHQ>  
> 
> Computer software development
>
<http://groups.yahoo.com/gads?t=ms&k=Computer+software+development&w1=We
>
b+site+design+development&w2=Computer+software+development&w3=Software+d
>
esign+and+development&w4=Macromedia+flex&w5=Software+development+best+pr
> actice&c=5&s=166&.sig=lvQjSRfQDfWudJSe1lLjHw>  
> 
> Software design and development
>
<http://groups.yahoo.com/gads?t=ms&k=Software+design+and+development&w1=
>
Web+site+design+development&w2=Computer+software+development&w3=Software
>
+design+and+development&w4=Macromedia+flex&w5=Software+development+best+
> practice&c=5&s=166&.sig=1pMBCdo3DsJbuU9AEmO1oQ>  
> 
> Macromedia flex
>
<http://groups.yahoo.com/gads?t=ms&k=Macromedia+flex&w1=Web+site+design+
>
development&w2=Computer+software+development&w3=Software+design+and+deve
>
lopment&w4=Macromedia+flex&w5=Software+development+best+practice&c=5&s=1
> 66&.sig=OO6nPIrz7_EpZI36cYzBjw>  
> 
> Software development best practice
>
<http://groups.yahoo.com/gads?t=ms&k=Software+development+best+practice&;
>
w1=Web+site+design+development&w2=Computer+software+development&w3=Softw
>
are+design+and+development&w4=Macromedia+flex&w5=Software+development+be
> st+practice&c=5&s=166&.sig=f89quyyulIDsnABLD6IXIw>  
> 
>  
> 
>  
> 
> ________________________________
> 
> YAHOO! GROUPS LINKS 
> 
>  
> 
> *      Visit your group "flexcoders
> <http://groups.yahoo.com/group/flexcoders> " on the
> web.
>         
> *      To unsubscribe from this group, send an email to:
>        [EMAIL PROTECTED]
>
<mailto:[EMAIL PROTECTED]>
> 
>         
> *      Your use of Yahoo! Groups is subject to the
> Yahoo! Terms of
> Service <http://docs.yahoo.com/info/terms/> . 
> 
>  
> 
> ________________________________
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to