_root.onEnterFrame = function() { otvet.border = true; otvet.borderColor = 0xFF0000; if (otvet.text == "123") { otvet.borderColor = 0x00FF00; } };