# Trying to fade tween class

**URL:** <https://forum.kirupa.com/t/trying-to-fade-tween-class/287362>\
**Category:** flash\
**Created:** [April 29, 2009, 9:08pm UTC](https://forum.kirupa.com/t/trying-to-fade-tween-class/287362 "2009-04-29T21:08:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Persistent1](https://avatars.discourse-cdn.com/v4/letter/p/f6c823/32.png) [@Persistent1](https://forum.kirupa.com/u/Persistent1)\
**Post date:** [April 29, 2009, 9:08pm UTC](https://forum.kirupa.com/t/trying-to-fade-tween-class/287362/1 "2009-04-29T21:08:39Z")

</div>

Hi there.

I’m trying to animate the mc in my fla with the tween class (specifically have it fade from 0 to 100 transparency [left-to right] as it moves). I’m not really a coder and more animation-based. If I was to create a variable (say named “Transp”, how would the rest of the declaration look in AS2?

Please find my demo file attached if it helps.

As always, I appreciate the help. Thank you.
