# Simple AS 2 to AS 3

**URL:** <https://forum.kirupa.com/t/simple-as-2-to-as-3/313702>\
**Category:** flash\
**Created:** [September 7, 2010, 5:31pm UTC](https://forum.kirupa.com/t/simple-as-2-to-as-3/313702 "2010-09-07T17:31:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![worthless](https://avatars.discourse-cdn.com/v4/letter/w/50afbb/32.png) [@worthless](https://forum.kirupa.com/u/worthless)\
**Post date:** [September 7, 2010, 5:31pm UTC](https://forum.kirupa.com/t/simple-as-2-to-as-3/313702/1 "2010-09-07T17:31:02Z")

</div>

How I convert this code from AS2 to AS 3, very simple to all of you. If any one give me any reference where I find these code reference that will better and can avoid so much easy questions to all of you. Here is the code in question

```auto

this.button_new.onRelease = function () {
    
    getURL("mailto:abc@yahoo.co.in");
}

```

Regards

Worthless
