The actress opened up about working alongside Andy Griffith.