mediaholic
11-23-2005, 09:13 PM
I have following Problem
My “trace(re.result);” in my function handleXYZ works and outputs the result
But the my Formating function “formatDataGlue” is newer called.
Class X{
public function handleXYZ (re : ResultEvent)
{
trace(re.result);
DataGlue.bindFormatFunction (myComboBox, re.result, formatDataGlue);//doesn’t work???
DataGlue.bindFormatFunction (myComboBox, re.result, this.formatDataGlue);//this neither???
}
function formatDataGlue (o : Object) : Object
{
trace("formatDataGlue");//this is newer traced????
return {label : o, data : o};
}
}
it looks like scope Problem but I cant figure out how to solve it, any ideas?
My “trace(re.result);” in my function handleXYZ works and outputs the result
But the my Formating function “formatDataGlue” is newer called.
Class X{
public function handleXYZ (re : ResultEvent)
{
trace(re.result);
DataGlue.bindFormatFunction (myComboBox, re.result, formatDataGlue);//doesn’t work???
DataGlue.bindFormatFunction (myComboBox, re.result, this.formatDataGlue);//this neither???
}
function formatDataGlue (o : Object) : Object
{
trace("formatDataGlue");//this is newer traced????
return {label : o, data : o};
}
}
it looks like scope Problem but I cant figure out how to solve it, any ideas?