# Changing \_alpha of clip causing tween to stop

**URL:** <https://forum.kirupa.com/t/changing--alpha-of-clip-causing-tween-to-stop/62263>\
**Category:** Uncategorized\
**Created:** [August 26, 2004, 9:41am UTC](https://forum.kirupa.com/t/changing--alpha-of-clip-causing-tween-to-stop/62263 "2004-08-26T09:41:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pup\_100](https://avatars.discourse-cdn.com/v4/letter/p/da6949/32.png) [@Pup\_100](https://forum.kirupa.com/u/Pup_100)\
**Post date:** [August 26, 2004, 9:41am UTC](https://forum.kirupa.com/t/changing--alpha-of-clip-causing-tween-to-stop/62263/1 "2004-08-26T09:41:21Z")

</div>

[font=Times New Roman]I have a very basic 2 layer fla with a simple motion tween set out over 40 frames with 4 keyframes setting new locations for the clip to tween to & an Action Script layer with the following code in the first frame[/font]

[font=Times New Roman] [/font]

```auto
 

mike_mc.onPress=function(){this._alpha=20;

}

```

[font=Times New Roman] [/font]

[font=Times New Roman]mike\_mc obviously being the movie clip that is being tweened.[/font]

[font=Times New Roman] [/font]

[font=Times New Roman]Now – When I click on the tweening clip it’s alpha does indeed go down to 20 but the animation also stops at the exact spot where I had clicked on the clip?[/font]

[font=Times New Roman] [/font]

[font=Times New Roman]How come setting alpha to a value stops the tween & what can I do about it?[/font]

[font=Times New Roman] [/font]

[font=Times New Roman]Thank you for any help[/font]

---

<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:** [August 26, 2004, 9:48am UTC](https://forum.kirupa.com/t/changing--alpha-of-clip-causing-tween-to-stop/62263/2 "2004-08-26T09:48:23Z")

</div>

yes, manual tweens and the setting of properties through actionscript (like color, alpha etc) dont get along to well.

To prevent this, put your tween in a movieclip and then apply the alpha setting to that movieclip letting the animation run freely without disturbance but still getting the change in alpha because its within a movie being affected

---

<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:** [August 26, 2004, 11:19am UTC](https://forum.kirupa.com/t/changing--alpha-of-clip-causing-tween-to-stop/62263/3 "2004-08-26T11:19:08Z")

</div>

Thank you once again senocular for taking the time to reply.

Your fix worked a dream!

---

<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:** [August 26, 2004, 11:21am UTC](https://forum.kirupa.com/t/changing--alpha-of-clip-causing-tween-to-stop/62263/4 "2004-08-26T11:21:47Z")

</div>

welcome 😉
