# Keyframe?

**URL:** <https://forum.kirupa.com/t/keyframe/228267>\
**Category:** Uncategorized\
**Created:** [June 6, 2007, 4:21pm UTC](https://forum.kirupa.com/t/keyframe/228267 "2007-06-06T16:21:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Macsy](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/macsy/32/3238_2.png) [@Macsy](https://forum.kirupa.com/u/Macsy)\
**Post date:** [June 6, 2007, 4:21pm UTC](https://forum.kirupa.com/t/keyframe/228267/1 "2007-06-06T16:21:56Z")

</div>

Hi, how do i gotoAndPlay an keyframe and remove all the MCs on the Screen which i have attached with AS?

ex: (there might be syntax, wroted from head)

[AS]  
attachMovie(‘ball’,‘ball1’,this.getNextHighestDepth)  
\_root.gotoAndPlay(2);  
[/AS]

How would i ‘clear’ the frame from Mc’s but not removing the variables and functions?
