idus
%Europe/Berlin %608 %2008, 15:36
Kan dit korter geschreven worden. Zo ja hoe... ?
Er moet totaal 12 'movieclips" komen met verschillend instellingen
teller=0;
hit1y = hit1._y;
hit1yscale = hit1._yscale;
hit1xscale = hit1._xscale;
hit2y = hit2._y;
hit2yscale = hit2._yscale;
hit2xscale = hit2._xscale;
onEnterFrame = function ()
{
hit1._y = hit1y + (10 * Math.sin(teller/100));
hit1._yscale = hit1yscale + (10 * Math.sin(teller/50));
hit1._xscale = hit1xscale + (10 * Math.sin(teller/25));
hit2._y = hit2y + (10 * Math.sin(teller/25));
hit2._yscale = hit2yscale + (10 * Math.sin(teller/100));
hit2._xscale = hit2xscale + (20 * Math.sin(teller/150));
teller+=3;
}
Er moet totaal 12 'movieclips" komen met verschillend instellingen
teller=0;
hit1y = hit1._y;
hit1yscale = hit1._yscale;
hit1xscale = hit1._xscale;
hit2y = hit2._y;
hit2yscale = hit2._yscale;
hit2xscale = hit2._xscale;
onEnterFrame = function ()
{
hit1._y = hit1y + (10 * Math.sin(teller/100));
hit1._yscale = hit1yscale + (10 * Math.sin(teller/50));
hit1._xscale = hit1xscale + (10 * Math.sin(teller/25));
hit2._y = hit2y + (10 * Math.sin(teller/25));
hit2._yscale = hit2yscale + (10 * Math.sin(teller/100));
hit2._xscale = hit2xscale + (20 * Math.sin(teller/150));
teller+=3;
}