Xscale AS3 problem!

Hi!

Im getting started with AS3 and id like to tween a scale property from a Movieclip called “bluebar”

This is my code

import fl.transitions.;
import fl.transitions.easing.
;
var largeur:uint = stage.stageWidth;
var hauteur:uint = stage.stageHeight;
var barrebleu:bluebar = new bluebar();
barrebleu.y = hauteur/2;
barrebleu.x = -500;
barrebleu.scaleX = 1;
barrebleu.scaleY = 1;
addChild(barrebleu)

new Tween(barrebleu, “_yscale”, Strong.easeOut, barrebleu._yscale, 400,25);

This code doesnt work… seems to be in AS2

But this code work but it is not fluid

new Tween(barrebleu, “height”, Strong.easeOut, barrebleu.height, 400,25);

someone would have the answer please! :slight_smile:

Thanks