# Basic play and clear movieclip actions. "need help please

**URL:** <https://forum.kirupa.com/t/basic-play-and-clear-movieclip-actions-need-help-please/253864>\
**Category:** Uncategorized\
**Created:** [March 5, 2008, 10:36pm UTC](https://forum.kirupa.com/t/basic-play-and-clear-movieclip-actions-need-help-please/253864 "2008-03-05T22:36:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jameskachan](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jameskachan](https://forum.kirupa.com/u/jameskachan)\
**Post date:** [March 5, 2008, 10:36pm UTC](https://forum.kirupa.com/t/basic-play-and-clear-movieclip-actions-need-help-please/253864/1 "2008-03-05T22:36:22Z")

</div>

CS3  
AS2

Hi, I have two problems, they seem pretty basic, but i just can’t figure out the syntax.

1. I have a movieclip that stops on frame 5, but i need it to resume when clicked and start playing again on frame 6  
-this is a movie clip, i cant just say something like: (or can I???)

2. Once I get the playhead moving, the code i have now to work requires a click, i would need it to be activated automatically once frame 10 is played ( or a frame label is hit). How do you get a function to activate just when a frame is reached?  
(i need it to unload an external swf)

var nextimage:String = “”;  
//  
function getimage() {  
imgholder\_mc.loadMovie(nextimage);  
}  
//

clear\_mc.onPress = function() {  
\_level0.imgholder\_mc.unloadMovie();  
};

You’re input would be very appreciated.  
I’ve fought with this for a very long time.

thanks  
James.
