# How to as3 to as2?

**URL:** <https://forum.kirupa.com/t/how-to-as3-to-as2/304005>\
**Category:** Uncategorized\
**Created:** [January 30, 2010, 1:27pm UTC](https://forum.kirupa.com/t/how-to-as3-to-as2/304005 "2010-01-30T13:27:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ngelay44](https://avatars.discourse-cdn.com/v4/letter/n/df788c/32.png) [@ngelay44](https://forum.kirupa.com/u/ngelay44)\
**Post date:** [January 30, 2010, 1:27pm UTC](https://forum.kirupa.com/t/how-to-as3-to-as2/304005/1 "2010-01-30T13:27:56Z")

</div>

hi all,

i want to convert this code as3 to as2… any one can explain me pls?

this.parent.parent.removeChild(this.parent);

cheer,

ngelay
