# Tweening Alpha on MovieClip

**URL:** <https://forum.kirupa.com/t/tweening-alpha-on-movieclip/259276>\
**Category:** flash\
**Created:** [May 2, 2008, 6:20pm UTC](https://forum.kirupa.com/t/tweening-alpha-on-movieclip/259276 "2008-05-02T18:20:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![vivaretro](https://avatars.discourse-cdn.com/v4/letter/v/a3d4f5/32.png) [@vivaretro](https://forum.kirupa.com/u/vivaretro)\
**Post date:** [May 2, 2008, 6:20pm UTC](https://forum.kirupa.com/t/tweening-alpha-on-movieclip/259276/1 "2008-05-02T18:20:35Z")

</div>

I’m having trouble with fading an object. I have the following code  
which takes a county and shrinks it back and I’d like it’s alpha to  
be at 100% until the last minute, then go to 0 when it lands. Right  
now it does a slow fade.  
Any ideas?

function makeCountySmall():void  
{

```
        this.alpha = 1;
        
        var countyTweenZoomX:Tween = new Tween(this, "scaleX", Regular.easeInOut, this.scaleX , 3.0177, speed, false);
        countyTweenZoomX = new Tween(this, "scaleY", Regular.easeInOut, this.scaleY , 3.0177, speed, false);
        countyTweenZoomX = new Tween(this, "x", Regular.easeInOut, finalXPosition , startingXPosition, speed, false);
        countyTweenZoomX = new Tween(this, "y", Regular.easeInOut, finalYPosition , startingYPosition, speed, false);
        var couuntyTweenAlpha = new Tween(this, "alpha", Strong.easeOut, 1, 0, 10, false);

        countyBig = false;
        aCountyIsBig = false;
        
    }
```
