# Calling parent functions (newb question)

**URL:** https://forum.kirupa.com/t/calling-parent-functions-newb-question/234772
**Category:** Uncategorized
**Created:** [August 6, 2007, 2:21am UTC](https://forum.kirupa.com/t/calling-parent-functions-newb-question/234772 "2007-08-06T02:21:30Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![DesignerScott](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/designerscott/32/2833_2.png) [@DesignerScott](https://forum.kirupa.com/u/DesignerScott)
#### Post date: [August 6, 2007, 2:21am UTC](https://forum.kirupa.com/t/calling-parent-functions-newb-question/234772/1 "2007-08-06T02:21:30Z")

</div>

Given the following problem, what would be the best solution:  
Within Container class I have 20 instances of Square class with functions grow() and shrink() and onMouseDown(evt:MouseEvent).  
I need to make it so that when one square is clicked it grows, but the others all shrink.  
I’m not a total newb, but I don’t quite have AS3.0 down yet (clearly).
