Trying to change the value of a variable from a function

I’ve been trying to find the answer to my question for about a week now. I’ve created a variable, what i want to do is change the value of my variable by clicking a specific function. The variable is being used inside an object variable, at least that’s how i think i should word it. I’ve posted the code. I know the object can read the variable because when i make the variable equal 700, it does read it. But if i try to change the variable value through a function, the value doesn’t change.


import com.reflektions.tween.*;        
 
    var sy:int = planet.y;    
    **var abc:int; **   
        
    var tween:Tween = new Tween();
        
    var tobj:Object = {mc:planet,y:sy, **dy:abc,** r:0,dr:50,xscale:0.5,dxscale:1.0,yscale:0.5,dyscale:1.0};      

    
    button_1.addEventListener(MouseEvent.MOUSE_DOWN, move_planet);    
    
    function move_planet(event:MouseEvent):void {        
        **abc = 700;**
        tween.initTween(tobj);
    }


As you can see i’m using an external tween library of some kind. I say of some kind because someone else started this project and i’m trying to finish it so i don’t really have much of an idea about how the class works.