That's not an AA thing, that's one (or how ever many) peoples' OPINIONs. Opinions in AA are worth what you pay for them.
Here's the official flyer on AA's stance on medication
http://www.aa.org/assets/en_US/p-11_...ersMedDrug.pdf
Short answer, "Thanks for your input," and walk away. Listen to your own inner voice/gut/Higher Power.
That said, some of them can be addicting - I would be careful, but you are most certainly sober if used as directed by a doctor.
...and that's my free advice.