# Movie clip communication

**URL:** https://forum.kirupa.com/t/movie-clip-communication/255387
**Category:** flash
**Created:** [March 21, 2008, 9:28pm UTC](https://forum.kirupa.com/t/movie-clip-communication/255387 "2008-03-21T21:28:02Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![dina\_orla](https://avatars.discourse-cdn.com/v4/letter/d/3e96dc/32.png) [@dina\_orla](https://forum.kirupa.com/u/dina_orla)
#### Post date: [March 21, 2008, 9:28pm UTC](https://forum.kirupa.com/t/movie-clip-communication/255387/1 "2008-03-21T21:28:02Z")

</div>

Hi to everyone

I’m really stucked with action script.I’m new so i don’t have that much experience in programming.  
So the problem is the following:  
Imagine that i have my \_root scene and many layers.In every layer there is only one button or one movie clip.  
The problem is with movie clips.The movie clips are used as buttons but i made them movie clips because they include many animated geometrical objects and sounds. So in redcircle\_mc (for example) there 10 different layers and every layer is a different geometrical object. For redcircle\_mc follows this simple script:  
on (press) {  
gotoAndPlay (2);  
}  
So the movie clip starts. In the first frame of movie clip’s timeline i have a stop(); so that doesn’t start automatically. And in the last one another stop(); because i don’t want this to be looped.  
That works fine no problem.  
The question is : what should i do when an animated object (of the movie clip) starts but in a point i want to stop his movement by pressing the mouse, and don’t let it to continue his prearranged motion? But the other objects should continue their prearranged motion.  
I don’t seem to understand the thinking of the programming.  
Propably i have to convert this object to movie clip and then??  
I’ve tried to do this and then on this new movie clip tried to write:  
on (press) {  
startDrag (this, true);  
}  
on (release, releaseOutside) {  
stopDrag ();  
}

but it doesn’t work. I miss something.  
Please can someone help me?
