Flash index rises to highest level in nearly three years