# Deleting movie Clips

**URL:** <https://forum.kirupa.com/t/deleting-movie-clips/183557>\
**Category:** flash\
**Created:** [March 28, 2006, 7:11am UTC](https://forum.kirupa.com/t/deleting-movie-clips/183557 "2006-03-28T07:11:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jimmy\_James](https://avatars.discourse-cdn.com/v4/letter/j/e47c2d/32.png) [@Jimmy\_James](https://forum.kirupa.com/u/Jimmy_James)\
**Post date:** [March 28, 2006, 7:11am UTC](https://forum.kirupa.com/t/deleting-movie-clips/183557/1 "2006-03-28T07:11:45Z")

</div>

I have button that adds text to a movie, and u can resise it and change the color and stuff like that, the txt comes in as a movie clip, but i want it so the user can also delete the text. what script do i apply to a button to delete the movie clip ?

cheers!!:thumb:

---

<div class="post-metadata">

**Author:** ![B\_L\_U\_E](https://avatars.discourse-cdn.com/v4/letter/b/ba8739/32.png) [@B\_L\_U\_E](https://forum.kirupa.com/u/B_L_U_E)\
**Post date:** [March 28, 2006, 5:23pm UTC](https://forum.kirupa.com/t/deleting-movie-clips/183557/2 "2006-03-28T17:23:52Z")

</div>

[AS]unloadMovie(mcName);[/AS]would delete the entire movieclip, but it sounds like you just want to make the text selectable.

---

<div class="post-metadata">

**Author:** ![Jimmy\_James](https://avatars.discourse-cdn.com/v4/letter/j/e47c2d/32.png) [@Jimmy\_James](https://forum.kirupa.com/u/Jimmy_James)\
**Post date:** [March 29, 2006, 3:04am UTC](https://forum.kirupa.com/t/deleting-movie-clips/183557/3 "2006-03-29T03:04:24Z")

</div>

[quote=BlueNar]ActionScript Code:  
[FONT=Courier New][LEFT][COLOR=#0000ff]unloadMovie[/COLOR]COLOR=#000000[/COLOR];  
[/LEFT]  
[/FONT]  
The above code help me out cheers Buddy ! 👼
