# Movie only plays when I hold down button! Why?

**URL:** <https://forum.kirupa.com/t/movie-only-plays-when-i-hold-down-button-why/120467>\
**Category:** Uncategorized\
**Created:** [August 24, 2004, 4:26pm UTC](https://forum.kirupa.com/t/movie-only-plays-when-i-hold-down-button-why/120467 "2004-08-24T16:26:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![kyle\_davis13](https://avatars.discourse-cdn.com/v4/letter/k/c5a1d2/32.png) [@kyle\_davis13](https://forum.kirupa.com/u/kyle_davis13)\
**Post date:** [August 24, 2004, 4:26pm UTC](https://forum.kirupa.com/t/movie-only-plays-when-i-hold-down-button-why/120467/1 "2004-08-24T16:26:18Z")

</div>

Button a, when pressed triggers a few things. I triggers a mask to tween in to uncover some text. But the movie will only play as long as i have the button pressed … Why is that??? ITS SO ANNOYING

thanks in advance

k

---

<div class="post-metadata">

**Author:** ![wizard](https://avatars.discourse-cdn.com/v4/letter/w/a87d85/32.png) [@wizard](https://forum.kirupa.com/u/wizard)\
**Post date:** [August 24, 2004, 4:29pm UTC](https://forum.kirupa.com/t/movie-only-plays-when-i-hold-down-button-why/120467/2 "2004-08-24T16:29:36Z")

</div>

I’m assuming there’s a Movie Clip inside of the Button on the DOWN state?  
The Movie Clip containing the mask and tweens.

Is this correct?

---

<div class="post-metadata">

**Author:** ![kyle\_davis13](https://avatars.discourse-cdn.com/v4/letter/k/c5a1d2/32.png) [@kyle\_davis13](https://forum.kirupa.com/u/kyle_davis13)\
**Post date:** [August 24, 2004, 4:36pm UTC](https://forum.kirupa.com/t/movie-only-plays-when-i-hold-down-button-why/120467/3 "2004-08-24T16:36:59Z")

</div>

Thats a good idea, but I went an checked and there is nothing for that button on the downstate.

> [@wizard](#):
>
> I’m assuming there’s a Movie Clip inside of the Button on the DOWN state?  
> The Movie Clip containing the mask and tweens.
> 
> Is this correct?

---

<div class="post-metadata">

**Author:** ![wizard](https://avatars.discourse-cdn.com/v4/letter/w/a87d85/32.png) [@wizard](https://forum.kirupa.com/u/wizard)\
**Post date:** [August 24, 2004, 4:39pm UTC](https://forum.kirupa.com/t/movie-only-plays-when-i-hold-down-button-why/120467/4 "2004-08-24T16:39:43Z")

</div>

If so, here’s what you do:

\> Take the Movie Clip outside of your Button, and place it wherever it needs to be placed on your Stage.

\> Give the Movie Clip an Instance Name.

\> Give your Button these actions:[AS]on (press) {  
InstanceName.gotoAndPlay(“frameLabel”);  
}[/AS]Now, just change "InstanceName to the right one, and also change the frame label/number.

Hope this helps.

---

<div class="post-metadata">

**Author:** ![Prophet](https://avatars.discourse-cdn.com/v4/letter/p/838e76/32.png) [@Prophet](https://forum.kirupa.com/u/Prophet)\
**Post date:** [August 24, 2004, 5:43pm UTC](https://forum.kirupa.com/t/movie-only-plays-when-i-hold-down-button-why/120467/5 "2004-08-24T17:43:06Z")

</div>

whats your code on your button?  
you might want to make an mc somewhere and have the button set an onEnterFrame function on this mc to do what your trying to do… :S

Prophet.
