Remark 109.5.4. If $M$ is of finite presentation and flat over $A$, then $M$ is projective over $A$. Thus your example will have to involve a ring $A$ which is not Noetherian. I know of an example where $A$ is the ring of ${\mathcal C}^\infty$-functions on ${\mathbf R}$.

In your comment you can use Markdown and LaTeX style mathematics (enclose it like $\pi$). A preview option is available if you wish to see how it works out (just click on the eye in the toolbar).