As I understand it: All flights must be marketed (=carrier ticketed) and operated (=carrier traveled) by an oneworld carrier and eligible for AAdvantage miles. As long as you meet both criteria (ticketed and traveled on oneworld carrier) it will count for your bonus miles.
AA code share and flying Qantas/Cathay/Finnair/Iberia/BA does count.
(but not BA transatlantic flights because they are not eligible for AAdvantage miles). AA code share but flying JAL/SAA or El Al or any other non-oneworld carrier will not count.
[This message has been edited by mijne (edited 08-16-1999).]