var sperma = new sperm(); sperma.x = Math.random()*600; sperma.y = 100; sperma.xmov = Math.random ()*2-1; sperma.ymov = 3+ Math.random ()*6; addChild(sperma);