A state court judge has tossed a lawsuit by toy giant Mattel Inc. that accuses its rival MGA Entertainment Inc. of fraudulently transferring millions in funds to avoid paying anticipated judgments in litigation over ownership of the popular, pouty-lipped Bratz doll.