# Tween problem

**URL:** <https://forum.kirupa.com/t/tween-problem/15414>\
**Category:** flash\
**Created:** [March 13, 2003, 10:04pm UTC](https://forum.kirupa.com/t/tween-problem/15414 "2003-03-13T22:04:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fspaiva](https://avatars.discourse-cdn.com/v4/letter/f/d07c76/32.png) [@fspaiva](https://forum.kirupa.com/u/fspaiva)\
**Post date:** [March 13, 2003, 10:04pm UTC](https://forum.kirupa.com/t/tween-problem/15414/1 "2003-03-13T22:04:09Z")

</div>

I have a newbe question:

I have a mc that fades using tween from alpha 0 up to alpha 100 in 15 frames, continous with alpha 100 up to frame 50, and then the alpha goes to 100 up to 0 in 15 frames, uning tween again.

Frame 1 -\> alpha=0  
Farme 15 -\> alpha=100 - using tween  
…  
Frame 50 -\> alpha=100  
Frame 65 -\> alpha=0 - using tween

I dont want to use tween, but some “as” code… how do I do?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 14, 2003, 5:15am UTC](https://forum.kirupa.com/t/tween-problem/15414/2 "2003-03-14T05:15:26Z")

</div>

Howdy…

I have a file that might be useful to you to understand how this ActionScripted tween can be don in Flash… Check out the file and see if you can make yours… 😉
