How was Colleen O’Shaughnessey able to reprise her role as Tails in the movies?

I'm just curious of it as it is rare for cartoon voice actors to reprise their roles in a new movie universe that is different from their cartoon counterparts, like Peter Cullen voicing Optimus Prime in both the movies and the cartoons.