перенес весь код из onClipEvent (load){} на кнопку "Сначала"

Код:
on (release)
{
function MoveJ(j)
{
this._parent.JVal.val.text = "j=" + j;
this._parent.JVal._x = ObjArray[j]._x;
MovePointer(this._parent.for_j._y);
if (j > 1)
{
moveJ = true;
} // end if
} // End of the function
function MoveI(i)
{
this._parent.IVal.val.text = "i=" + i;
this._parent.IVal._x = ObjArray[i]._x;
MovePointer(this._parent.for_i._y);
if (i > 0)
{
moveI = true;
} // end if
} // End of the function
////////////
ArrayToSort = new Array(5, 7, 2, 3, 0, 8, 5, 2);
ObjArray = new Array(this._parent.obj1, this._parent.obj2, this._parent.obj3, this._parent.obj4, this._parent.obj5, this._parent.obj6, this._parent.obj7, this._parent.obj8);
i = 0;
j = 0;
k = 0;
l = 0;
MoveJ(j);
MoveI(i);
timeToColor = 0;
timeToColormax = 15;
timeToMoving = 0;
timeToMovingmax = 30;
gotoAndPlay(nextFrame);
standart = true;
changePointer = false;
goToR = false;
goOutOfR = false;
changePlace = false;
counter = 0;
playingVar = true;
MovePointer = function (yPos)
{
this._parent.pointer._y = yPos;
return(undefined);
};
}
И теперь нажав кнопку "Сначала" для объявления всех переменных и после этого нажав кнопку "Control" ничего не происходит
И Как его теперь загрузить этот код при загрузке клипа (или можно как-то съэмитировать нажатие кнопки "Сначала")