So basically I have this code and I need to know what it means;
so could someone please explain what it does as detailed as possible
Huge thanks for anyone who can do this =D
This is on frame 1:
function generate(cual){
(cual.e = Math.random() / 10, cual.o = Math.random() / 10);
} // end of the function
function chanje(cual){
cual.ya = getTimer() + random(2000) + 2000;
} // end of the function
then on a movieclip is this code:
onClipEvent (load){
(asa = asb = angle = anglo = 0, radio = 0, inside = 1);
_parent.generate(this);
_parent.chanje(this);
soy = _parent._name.substr(-1, 1);
caja.cosa.gotoAndStop(soy);
yo.gotoAndStop(soy);
}
onClipEvent (enterFrame){
if (yo.hitTest(_root._xmouse, _root._ymouse, true)){
_parent._parent.letras.n = soy;
} //end als
if (radio radio = radio + 2.000000E-001;
}//end als
if (!parent._parent.vamos){
asa = asa + (e - asa) / 2;
asb = asb + (o - asb) / 2;
angle = angle + asa;
anglo = anglo + asb;
setProperty("", _x, Math.cos(angle) * radio);
setProperty("", _y, Math.sin(anglo) * radio);
setProperty("", _rotation, _x + _y);
caja.cosa._rotation = -_rotation * 1.400000E+000;
if (getTimer() > ya){
_parent.generate(this);
_parent.chanje(this);
} //end als
}
else{
with (_parent) {
(_rotation = Math.atan2(-_y, -_x) * 180 / 3.141593E+000);
_parent.letras.word.play();
(_parent.letras.n = 0);
} // end als
caja._rotation = -_parent._rotation;
if (_x setProperty("", _x, _x + inside);
setProperty("", _xscale, _xscale + inside);
setProperty("", _yscale, _yscale - inside / 2);
inside = inside + (Math.abs(_x / 10) + 4);
}
else{
_parent._parent._parent.play();
}// end als
}// end else als
}
// [onClipEvent of sprite 304 in frame 126]
onClipEvent (load)
{
gotoAndStop(_totalframes);
}
// [onClipEvent of sprite 304 in frame 126]
onClipEvent (enterFrame)
{
setProperty("", _x, (_parent.luna1.globo._x + _parent.mercurio2.globo._x + _parent.venus3.globo._x + _parent.marte4.globo._x + _parent.jupiter5.globo._x + _parent.saturno6.globo._x) / 6);
setProperty("", _y, (_parent.luna1.globo._y + _parent.mercurio2.globo._y + _parent.venus3.globo._y + _parent.marte4.globo._y + _parent.jupiter5.globo._y + _parent.saturno6.globo._y) / 6);
setProperty("", _rotation, _x);
if (_parent.saturno6)
{
if (!_parent.vamos)
{
_parent.fondaco._x = -_x * 2;
_parent.fondaco._rotation = -_x / 2;
_parent.fondaco._y = -_y * 1.500000E+000;
}
else
{
_root.fondaco._alpha = _root.fondaco._alpha * 8.000000E-001;
} // end if
} // end else if
}