Does the setter have appropriate [Bindable] metadata?  Or are you
getting warnings?

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Richard Rodseth
Sent: Thursday, May 01, 2008 10:57 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] ComboBox binding

 

ComboBox binding is driving me crazy.

[Bindable]
public var selectedGranularity:String;

<mx:ComboBox id="granularityCombo" dataProvider="{source}"
selectedIndex="{findSelectedIndex(this.selectedGranularity)}"
labelFunction="labelFunction" />

If I set a breakpoint on selectedGranularity, it's setter is reached,
but the findSelectedIndex function does not trigger. Any obvious
mistakes?

 

Reply via email to