This code works strange. The first item in the model has an empty String label. It works fine at the first look: there's an ampty item at the first place in the combo box. But if I scroll down and up some item's label disappear temporary. Is this a bug? Having a '_' character instead of the empty String solves the solution.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml " layout="vertical">
<mx:Model id="dp">
<items>
<item label=""/>
<item label="one"/>
<item label="two"/>
<item label="three"/>
<item label="four"/>
<item label="five"/>
<item label="six"/>
<item label="seven"/>
<item label="eight"/>
</items>
</mx:Model>
<mx:ComboBox dataProvider="{dp.item}" />
</mx:Application>
--
Norbert Csík
__._,_.___
--
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
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
__,_._,___