# Calling Parent Class Function problem

**URL:** <https://forum.kirupa.com/t/calling-parent-class-function-problem/240382>\
**Category:** flash\
**Created:** [October 2, 2007, 2:48pm UTC](https://forum.kirupa.com/t/calling-parent-class-function-problem/240382 "2007-10-02T14:48:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Guro](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/guro/32/3765_2.png) [@Guro](https://forum.kirupa.com/u/Guro)\
**Post date:** [October 2, 2007, 2:48pm UTC](https://forum.kirupa.com/t/calling-parent-class-function-problem/240382/1 "2007-10-02T14:48:51Z")

</div>

Hello, I have 2 Classes  
main.as  
and  
gallery.as

in main.as i’m creating new object for example:  
gl:Object = new gal(); // gallery.as class

in gallery class i have fadeOut function that fades out img, i want to make something like event onFadeOut to call from main as .

i want to know when img fadeout is done in main.as.

sorry for my english
