You can earn AS miles on international AA flights booked with AA. Technically, you cannot earn if booked with BA. However, it is the experience of many on this forum (myself included) AS will give you the miles if you save your boarding pass and email CS to request credit.