"When" is much better than "as." "As" indicates some sort of continuing "seeing," when what really happened is that she saw you and at that point in time, she ran out.
If you have a question about the English language and would like to ask one of our many English teachers and language experts, please click the button below to let us know: