Yes i agree that getting over your x is a pretty hard thing to do. In the first place, i don't mean to be harsh but does she have any sort of feelings for you? As in friends, best friends or more than that.
Getting flattered isnt the right feeling to be in when telling someone how you feel about them. If she just treats you as friends, you can stay close to her but only as a best friend and someone she can talk to when having problems and such.
I'd suggest that you try other fishes in the pond rather than keeping your hopes up high and getting disappointed and wasting your time in the end.
We all should look out for the finer things in life~