# Remove element from array?

**URL:** https://forum.kirupa.com/t/remove-element-from-array/111919
**Category:** Uncategorized
**Created:** [June 1, 2004, 5:14pm UTC](https://forum.kirupa.com/t/remove-element-from-array/111919 "2004-06-01T17:14:46Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![zezo](https://avatars.discourse-cdn.com/v4/letter/z/45deac/32.png) [@zezo](https://forum.kirupa.com/u/zezo)
#### Post date: [June 1, 2004, 5:14pm UTC](https://forum.kirupa.com/t/remove-element-from-array/111919/1 "2004-06-01T17:14:46Z")

</div>

hi

How can i remove the element from array in actionscript?  
i have this array:  
myArray = new Array (“1”,“2”, “3”, “4”, “5”);  
i want to remove the element “3” when i press button. :-/

:moustache
