Text field autosize not working :(

I’ve been banging my head against the wall, on something that should be straight forward…granted Im a novice at this…

I have a text field that is fed by an array of titles. The longer title are geting cuttoff in the field box, and Ive tried to autoscale…no luck…

any tips?

here is code:

appTitleGallery = function (num) {
menuTitle._alpha = 0;

// menuTitle.txtTitle.autosize=“right”; // <— I’ve tried it here

menuTitle.txtTitle.text = arrayGalleryTitle[num];

// menuTitle.txtTitle.autosize=“right”; // <— I’ve tried it here

var tweenAlphaTitle = new Tween(menuTitle, “_alpha”, None.easeOut, menuTitle._alpha, 100, 1.4, true);
};

thanks in advance!
celticvfx