Scale button, reset others not working! :(

I was hoping someone could tell me why a bit of my code is not working.

I have buttons with a mouse down function that triggers a increase scale tween on the clicked button and if any of the other buttons are allready scaled up they will scale back to their original size.

The scale up tween works but the scale down on the others doesnt :frowning:
Each button has a variable of ScaledUp which is either true or false when i trace ScaledUp the values are set correctly for each button but the scale down tween wont play!

Please help me :stuck_out_tongue:

BTW im pretty new to as3

import fl.transitions.Tween;
import fl.transitions.easing.*;

var buttons:Array = new Array("HomeButton", "AboutButton", "ContactButton");

var xP = 200;
var yP = 200;
var nextPos:int;
var twSlide:Tween;
var twSlideReset:Tween;
var ScaledUp:Boolean = false;

for (var key:String in buttons){
    var i = buttons[key];
    xP = nextPos;

function addMovieFromLibrary(mcIName:String){
    var button:Class = getDefinitionByName(mcIName) as Class;
    var newMc:MovieClip = new button() as MovieClip;
    buttonMode = true;
    mouseChildren = true;
    newMc.addEventListener (MouseEvent.MOUSE_OVER, manageMouseOver);
    newMc.addEventListener(MouseEvent.MOUSE_OUT, manageMouseOut);
    newMc.addEventListener(MouseEvent.MOUSE_DOWN, manageMouseDown);
    newMc.x = xP;
    newMc.y = yP;
    nextPos = newMc.x +newMc.width + 60;
    return nextPos;    

var testClipTransform:ColorTransform;
function manageMouseOver(e:MouseEvent):void {"2");
function manageMouseOut(e:MouseEvent):void{"1");
function manageMouseDown(e:MouseEvent):void{
    ScaledUp = true;
    if (ScaledUp) {
        twSlide = new Tween(, "scaleX", Back.easeOut, 1, 2, 10);
        twSlide = new Tween(, "scaleY", Back.easeOut, 1, 2, 10); (MouseEvent.MOUSE_OVER, manageMouseOver);, manageMouseOut);, manageMouseDown);
        buttonMode = false;
    for (var key:String in buttons){
        var n = buttons[key];
        var buttonReset:Class = getDefinitionByName(n) as Class;
        var newMcReset:MovieClip = new buttonReset() as MovieClip;

        if (String(newMcReset) == String({
            if (ScaledUp) {
                twSlideReset = new Tween(newMcReset, "scaleX", Back.easeIn, 2, 1, 10);
                twSlideReset = new Tween(newMcReset, "scaleY", Back.easeIn, 2, 1, 10);
                ScaledUp = false;

            trace(newMcReset+" is now set to "+ScaledUp);
        } else {
            ScaledUp = true;
            trace(" is now set to "+ScaledUp);