iTween not working

function SetDesiredSize(){
for(var i:int = 0;i<PauseMenuButtons.Count;i++){
if(i==PauseMenuPositionStatus){
desiredSize*=SelectedSize;*

  •  }*
    
  •  else{*
    

_ desiredSize*=unSelectedSize;_
_
}*_

* }*
}

function SetDesiredPos(){
_ desiredPos[0]=Vector2(Screen.width*.02,Screen.height*(1-.02)-desiredSize[0].y);
* for(var i:int = 0;i<PauseMenuButtons.Count;i++){*
* if(i!=0){*
desiredPos=Vector2(Screen.width*.02,desiredPos[i-1].y - desiredSize*.y);
}
}
}*_

function ButtonTween(){
* iTween.ValueTo(gameObject,iTween.Hash(“from”,currentPos[0],“to”,desiredPos[0],“onupdate”,“MoveButtonPos”,“easetype”,“easeinoutback”));*

}
function MoveButtonPos(myVector2:Vector2){
* PauseMenuButtons[0].pixelInset.x=myVector2.x;*
* PauseMenuButtons[0].pixelInset.y=myVector2.y;*

}
Hi guys.
I don’t know what’s the problem here. Seems ok for me. but it’s not working

You’re missing the onupdatetarget for a reference to the GameObject that holds the “onupdate” method.