Libby

Not sure about your question, are you trying to bind some data into a
comboBox but want to the first item to be empty of data?

I used once using as static using the mx.bindingUtils class but it was just
passing to dataProvider as the frist in static mode.
and join both dinamic and static. using the SelectedIndex.


Best

On 1/17/07, Libby <[EMAIL PROTECTED]> wrote:

  I notice that if you use mx.binding tags in your mxml, you can bind a
comboBox prior to it having any data in it. When I try to do this from
actionscript using mx.bindingUtils, I get a null object reference on
the selectedItem. Once I set the dataProvider, then binding works no
problem. I was wondering if anyone knows how this null reference
situation is being handled in the binding tag? Maybe I shouldn't be
binding to selectedItem, but to something else?

Thanks,
Libby




--
----------------------------
Igor Costa
www.igorcosta.org
www.igorcosta.com
skype: igorpcosta

Reply via email to