This focus issue is a tough one
gidday guys
this 1 has been bugging me day.
if select row in datagrid, click out of air desktop app program, desktop etc, click air app, error:
typeerror: error #1009: cannot access property or method of null object reference.
@ fl.controls::textinput/setfocus()
@ fl.managers::focusmanager/activatehandler()
i set following deselect row, error still occurs:
data_grid.addeventlistener(event.deactivate, deselectrow, false, 0, true);
private function deselectrow(event:event):void
{
data_grid.selectedindex = null;
}
anyone had happen before , know of fix?
cheers
normally non-selection list assigned -1, not null. don't know if part of problem or not.
More discussions in ActionScript 3
adobe
Comments
Post a Comment