# Event from an Instance

**URL:** <https://forum.kirupa.com/t/event-from-an-instance/314520>\
**Category:** flash\
**Created:** [September 30, 2010, 8:20pm UTC](https://forum.kirupa.com/t/event-from-an-instance/314520 "2010-09-30T20:20:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rimacy](https://avatars.discourse-cdn.com/v4/letter/r/839c29/32.png) [@rimacy](https://forum.kirupa.com/u/rimacy)\
**Post date:** [September 30, 2010, 8:20pm UTC](https://forum.kirupa.com/t/event-from-an-instance/314520/1 "2010-09-30T20:20:00Z")

</div>

I have a button which is an instance of a “button1” class. The button is instantiated by an instance of the"introScreen" class which is instantiated by the "screenHandler"class. I’m not sure how to attack getting an instance(the “button1” instance ) to dispatch an event heard by its grand parent(the "screenHandler"instance). My main confusion is getting an instance to transmit a specific event like the name of the screen to switch to. Can I specify a custom event in an instance?

Can anyone give me a hint???
