# Xscale AS3 problem!

**URL:** <https://forum.kirupa.com/t/xscale-as3-problem/252000>\
**Category:** Uncategorized\
**Created:** [February 14, 2008, 7:06pm UTC](https://forum.kirupa.com/t/xscale-as3-problem/252000 "2008-02-14T19:06:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Azimut](https://avatars.discourse-cdn.com/v4/letter/a/5f9b8f/32.png) [@Azimut](https://forum.kirupa.com/u/Azimut)\
**Post date:** [February 14, 2008, 7:06pm UTC](https://forum.kirupa.com/t/xscale-as3-problem/252000/1 "2008-02-14T19:06:43Z")

</div>

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! 🙂

Thanks
