Originally Posted by Guy Betsy
No. CX only codeshares with MH on the KUL-HKG v.v. run. And besides you cannot earn AA miles on an airline not flown by a oneworld carrier even with a CX flight number.
True, but only because CX doesn't codeshare with any of AA's non-OneWorld partners any more...
You can earn AA miles on any flight with an AA flight number, regardless of whether it is flown by a OneWorld carrier or by some other (JAL, etc.).
You can also get miles on any flight operated and marketed by one of AA's partners (including the OneWorld partners).
What you cannot do, in general, is the second level of "indirection" (to use a techie term)... get miles on a flight using the code of one of AA's partners, but operated by an airline which is not a partner of AA.
However, there are cases where a flight is flown by a non-OneWorld carrier with a "OneWorld" code where I believe you could earn miles: for example LHR-GVA flown by Swiss (as a non-OW carrier, but an AA partner), booked under BA would, I think, be eligible for AA Miles.