I missed your original post, but this does look like a bug. The player doesn’t seem to know what to do with the empty String tag. When I place anything in that first String tag (in addition to or instead of the empty space) the problem goes away.

 

This works:

 

<mx:ComboBox width="150" id="comboSearchType" >

<mx:dataProvider>

                 <mx:Array>

                     <mx:String>Select...</mx:String>

                     <mx:String>Basic Info</mx:String>

                     <mx:String>VM-Detail</mx:String>

                     <mx:String>Paging</mx:String>

                     <mx:String>TechData</mx:String>

                     <mx:String>Simple Freedom</mx:String>

                     <mx:String>SID</mx:String>

                 </mx:Array>

             </mx:dataProvider>

 

This doesn’t work:

 

<mx:ComboBox width="150" id="comboSearchType" >

<mx:dataProvider>

                 <mx:Array>

                     <mx:String> </mx:String>

                     <mx:String>Basic Info</mx:String>

                     <mx:String>VM-Detail</mx:String>

                     <mx:String>Paging</mx:String>

                     <mx:String>TechData</mx:String>

                     <mx:String>Simple Freedom</mx:String>

                     <mx:String>SID</mx:String>

                 </mx:Array>

             </mx:dataProvider>

 

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Greg Morphis
Sent: Wednesday, May 24, 2006 10:20 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Strange thing happening with Flex 2 Beta 3 (eclipse plugin) - possible bug?

 

I changed it to using actionscript to populate the comboBox and all is well..
Still don't know what caused the below issue but it's corrected.

On 5/22/06, Greg Morphis <[EMAIL PROTECTED]> wrote:
> I've got a combo box being populated via code:
> <mx:ComboBox width="150" id="comboSearchType" change="chg(event);">
> <mx:dataProvider>
>     <mx:Array>
>         <mx:String> </mx:String>
>         <mx:String>Basic Info</mx:String>
>         <mx:String>VM-Detail</mx:String>
>         <mx:String>Paging</mx:String>
>         <mx:String>TechData</mx:String>
>         <mx:String>Simple Freedom</mx:String>
>         <mx:String>SID</mx:String>
>     </mx:Array>
> </mx:dataProvider>
> </mx:ComboBox>
>
> Anyways, when I run this the first time I don't see the Simple Freedom
> entry (the space for it is there and if I click on it I see Simple
> Freedom in the combo box), if I scroll all the way up, Basic Info is
> blank, again, I can click on it and see it in the box, when I scroll
> back down SID is blank, the space for it is there and if I click on it
> I see it in the box.
> I can recreate the problem.
>
> Is this a bug? something up with the Plugin version or what?
>



--
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 Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to