# Button Action Problem

**URL:** <https://forum.kirupa.com/t/button-action-problem/9507>\
**Category:** flash\
**Created:** [December 13, 2002, 2:28am UTC](https://forum.kirupa.com/t/button-action-problem/9507 "2002-12-13T02:28:13Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Palaecro](https://avatars.discourse-cdn.com/v4/letter/p/3d9bf3/32.png) [@Palaecro](https://forum.kirupa.com/u/Palaecro)\
**Post date:** [December 13, 2002, 2:28am UTC](https://forum.kirupa.com/t/button-action-problem/9507/1 "2002-12-13T02:28:13Z")

</div>

Hi I keep getting this message for a button of mine that is supposed to play a movie clip, but it isn’t. All the instances appear to be there and all actions are in the right spot. Any one know what could be causing this message or what it could mean?

Scene=Scene 1, Layer=Lightning, Frame=195: Line 1: Mouse events are permitted only for button instances  
on (release) {

When I actually go into the movie and press the button I get this message.

Error: A ‘with’ action failed because the specified object did not exist.

The action I am using on the button is this if it helps

on (release) {  
with (Lightning) {  
play();  
}  
}

---

<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:** [December 13, 2002, 2:32am UTC](https://forum.kirupa.com/t/button-action-problem/9507/2 "2002-12-13T02:32:16Z")

</div>

🙂 Don’t worry about it I fixed it, I had my action on the key frame and on the button and that seemed to cause a problem

---

<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:** [December 13, 2002, 2:54am UTC](https://forum.kirupa.com/t/button-action-problem/9507/3 "2002-12-13T02:54:38Z")

</div>

In 4 minutes? Wow!

---

<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:** [December 13, 2002, 3:02am UTC](https://forum.kirupa.com/t/button-action-problem/9507/4 "2002-12-13T03:02:18Z")

</div>

I’ve posted questions and suddenly realize that the answer was sitting right in front of my face. 😛

---

<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:** [December 13, 2002, 6:04am UTC](https://forum.kirupa.com/t/button-action-problem/9507/5 "2002-12-13T06:04:58Z")

</div>

Yeah I was pretty surprised myself, but like all my other experiences in flash I find fixes to problems pretty randomly in it. :sigh:
