Hi list,

i'm workin on a small textEditor and working with comboboxes seem to  
break all apart

when i shoot the change event of a combobox i renew the focus on the  
text and then it break's up
her ie the code of my method

public function renewFocus():Void
{

        Selection.setFocus(texteCible);
        if(selectionExiste)
        {
                Selection.setSelection(startIndex,endIndex);
        }
        else
        {
                Selection.setSelection(carretIndex,carretIndex);
        }

}

everything works with a component button but not with combobox

Any help would be appreciated

Bertrand gilles

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to