Hey guys.. so this is the code I have:

var cbListener:Object = new Object();
cbListener.change = function(evt_obj:Object) {
var item_obj:Object = my_cb.selectedItem;
var i:String;
for (i in item_obj) {
}
trace(item_obj[i]);
if (item_obj[i]="attractions") {
trace("hit");
}
};
my_cb.addEventListener("change", cbListener);


The prob I'm having is that now it keeps assuming that item_obj[i] is "attractions" no matter what the value actually is.. then I tried == and it did nothing.. any suggestions?