# Detecting end of movement

**URL:** https://forum.kirupa.com/t/detecting-end-of-movement/244752
**Category:** Uncategorized
**Created:** [November 21, 2007, 2:04pm UTC](https://forum.kirupa.com/t/detecting-end-of-movement/244752 "2007-11-21T14:04:57Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![majide](https://avatars.discourse-cdn.com/v4/letter/m/90db22/32.png) [@majide](https://forum.kirupa.com/u/majide)
#### Post date: [November 21, 2007, 2:04pm UTC](https://forum.kirupa.com/t/detecting-end-of-movement/244752/1 "2007-11-21T14:04:57Z")

</div>

Hello.

I have an mc that moves into position after a button is pressed. I would like a seperate mc start playing after the moving mc stops. Can someone help me in how this can be achieved? I have attached a sample .fla file that has the parts that are needed.The file was over the allowed limit so I have uploaded it here:

[http://www.mediafire.com/?1czgd374mxa](http://www.mediafire.com/?1czgd374mxa)

I would like the mc ‘red’ start playing after the mc ‘longBar’ stops moving. The mc ‘longBar’ starts moving after the gray square button is pressed.

Thanks in advance!

Kei
