# Communicating between two classes

**URL:** <https://forum.kirupa.com/t/communicating-between-two-classes/321505>\
**Category:** flash\
**Created:** [April 21, 2011, 11:40am UTC](https://forum.kirupa.com/t/communicating-between-two-classes/321505 "2011-04-21T11:40:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gkp\_gaurav1](https://avatars.discourse-cdn.com/v4/letter/g/c37758/32.png) [@gkp\_gaurav1](https://forum.kirupa.com/u/gkp_gaurav1)\
**Post date:** [April 21, 2011, 11:40am UTC](https://forum.kirupa.com/t/communicating-between-two-classes/321505/1 "2011-04-21T11:40:57Z")

</div>

Hey,  
I have a custom keyboard class. The second class is having a textBox as its child and my custom keyboard’s object as child. When the key in the custom keyboard is clicked, how can i update the value in the text box?
