I made a small change in your code. Add the "data" into your array and assign "dataTipField" to "data". Infact you could assign "dataTipField" to /anything-other-than/ "label" and it would work! I wont know why! Maybe for the experts to enlighten.
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"> <mx:ComboBox id="testComboBox" creationComplete="testComboBox_creationComplete()" dataProvider="{dp}"/> <mx:Script> <![CDATA[]]> public var dp:Array = new Array({label:"Item1", data:"Item1"},{label:"Item2",data:"Item2"},{label:"Item3",data:"Item3"}) private function testComboBox_creationComplete() { testComboBox.dropdown.showDataTips = true; testComboBox.dropdown.dataTipField = "data"; } <!-- --> </mx:Script> </mx:Application>/ /Sree/ /Clint Modien wrote: > according to gmail i posted this message 14 hours ago and it still > hasn't shown up in the posts... thought i'd post it again... > > ---------- > > couldn't get this 2 work... anyone been able to set the showDataTips > on the dropdown in a combobox? > > here's what i tried > > <?xml version="1.0" encoding="utf-8"?> > <mx:Application xmlns:mx=" http://www.macromedia.com/2003/mxml" > <http://www.macromedia.com/2003/mxml%22>> > <mx:ComboBox id="testComboBox" > creationComplete="testComboBox_creationComplete()" > dataProvider="{dp}"/> > <mx:Script> > <![CDATA[]]> > public var dp:Array = new > Array({label:"Item1"},{label:"Item2"},{label:"Item3"}) > private function testComboBox_creationComplete() > { > testComboBox.dropdown.showDataTips = true; > testComboBox.dropdown.dataTipField = "label"; > } > <!-- --> > </mx:Script> > </mx:Application> > > ------------------------------------------------------------------------ > *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] > <mailto:[EMAIL PROTECTED]> > > * Your use of Yahoo! Groups is subject to the Yahoo! Terms of > Service <http://docs.yahoo.com/info/terms/>. > > 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/

