# Send Button

**URL:** <https://forum.kirupa.com/t/send-button/330618>\
**Category:** flash\
**Created:** [February 18, 2013, 10:25pm UTC](https://forum.kirupa.com/t/send-button/330618 "2013-02-18T22:25:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![flashnve](https://avatars.discourse-cdn.com/v4/letter/f/f9ae1b/32.png) [@flashnve](https://forum.kirupa.com/u/flashnve)\
**Post date:** [February 18, 2013, 10:25pm UTC](https://forum.kirupa.com/t/send-button/330618/1 "2013-02-18T22:25:23Z")

</div>

Hello Folks, This is my very first post on this forum. Has you can probably tell with the question i am about to ask you i am a newbie to ActionScript 3.0.

I have just watched a tutorial in AS2. The code to make a send button is AS2is straightforward:

b.onRelease = function () {  
so.send(“receiveMessage”, “hi”);

What is the equivalent code for this in ActionScript 3.0?

Thanks Guys
