# How can a class send messages to the main movie

**URL:** <https://forum.kirupa.com/t/how-can-a-class-send-messages-to-the-main-movie/273441>\
**Category:** flash\
**Created:** [October 15, 2008, 3:42pm UTC](https://forum.kirupa.com/t/how-can-a-class-send-messages-to-the-main-movie/273441 "2008-10-15T15:42:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tester123](https://avatars.discourse-cdn.com/v4/letter/t/35a633/32.png) [@tester123](https://forum.kirupa.com/u/tester123)\
**Post date:** [October 15, 2008, 3:42pm UTC](https://forum.kirupa.com/t/how-can-a-class-send-messages-to-the-main-movie/273441/1 "2008-10-15T15:42:06Z")

</div>

I think I have a prety good handle on AS3. I wrote a class, and attached it to a MovieClip, in my main movie, one the user interacts with the class, and the class does it’s thing, I want it to send some infomation back to the main movie (which is also a class). I’m not really sure how to do this. Do I add some sort of custom event listener to class, and then dispatch an event to the main movie from the class? I don’t have alot of experiance with this, I wonder if anyone can help me.
