# Simple Question! ------ Playing movieclip

**URL:** https://forum.kirupa.com/t/simple-question-playing-movieclip/24930
**Category:** flash
**Created:** [July 7, 2003, 12:40pm UTC](https://forum.kirupa.com/t/simple-question-playing-movieclip/24930 "2003-07-07T12:40:12Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Dave](https://avatars.discourse-cdn.com/v4/letter/d/ee7513/32.png) [@Dave](https://forum.kirupa.com/u/Dave)
#### Post date: [July 7, 2003, 12:40pm UTC](https://forum.kirupa.com/t/simple-question-playing-movieclip/24930/1 "2003-07-07T12:40:12Z")

</div>

I dnt know y i cant get this to work.

I have attached the file so you can see.

On my main stage i have a movie clip “ballMovie”

inside that movie clip, on the first frame i have a stop action, then on the second frame i have a frame label saying “play”.

Now back to the main stage.

At the end of the main stage i have a frame action saying stop, now i also want it to tell it to go to and play the frame label “play” inside ballMovie.

Get me?

Thanks 🙂

---

<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: [July 7, 2003, 1:19pm UTC](https://forum.kirupa.com/t/simple-question-playing-movieclip/24930/2 "2003-07-07T13:19:25Z")

</div>

oki… now u have an animation of a ball in the movieClip… you have the main stage where something happens…

what u have to do is give the ball movieClip an Instance Name… you do this by selecting the movieClip and going to the properties panel. Then go to the top left of the panel… u should see a textbox thats labeled “Instance Name”… change that to “ball” or something.

Then in the main timeline at whatever frame you want, you put in the following actions :

[AS]  
ball.gotoAndPlay(2);  
[/AS]

btw… I dont see your attachment :sure:

-Aditya  
:thumb:

---

<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: [July 7, 2003, 1:20pm UTC](https://forum.kirupa.com/t/simple-question-playing-movieclip/24930/3 "2003-07-07T13:20:30Z")

</div>

\_root.ballMovie.gotoAndPlay(“play”);

If you want to use that in a button, you’ll have to add a handler. I think that’s what you mean.

---

<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: [July 7, 2003, 1:56pm UTC](https://forum.kirupa.com/t/simple-question-playing-movieclip/24930/4 "2003-07-07T13:56:38Z")

</div>

im an idiot, i forgot the fla!!

here it is!

i did all the codes u guys mentioned above, but didnt work!!

---

<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: [July 7, 2003, 2:16pm UTC](https://forum.kirupa.com/t/simple-question-playing-movieclip/24930/5 "2003-07-07T14:16:14Z")

</div>

oki… I dont know why exactly but your ballMovie was named for the first time in the frame with the actions to play the ballMovie…

I guess flash looks at frame actions first before looking at instance names(or something :crazy: )

SO I just made a keyframe before the actual ballMovie and reduced transparency to 0%…the ballMovie was named in this frame too… now it works…

in attachment is the working one…

---

<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: [July 7, 2003, 2:27pm UTC](https://forum.kirupa.com/t/simple-question-playing-movieclip/24930/6 "2003-07-07T14:27:41Z")

</div>

cool thanks. But i dnt get y there has to be a keyfrme b4.  
Doesnt really make sense y there should be one does it?
