# Need help calling functions in OOP AS

**URL:** <https://forum.kirupa.com/t/need-help-calling-functions-in-oop-as/223168>\
**Category:** Uncategorized\
**Created:** [April 20, 2007, 12:44am UTC](https://forum.kirupa.com/t/need-help-calling-functions-in-oop-as/223168 "2007-04-20T00:44:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xgraves](https://avatars.discourse-cdn.com/v4/letter/x/7cd45c/32.png) [@xgraves](https://forum.kirupa.com/u/xgraves)\
**Post date:** [April 20, 2007, 12:44am UTC](https://forum.kirupa.com/t/need-help-calling-functions-in-oop-as/223168/1 "2007-04-20T00:44:27Z")

</div>

man, i am tearing my hair out over this one. Any help is GREATLY appreciated.

in OOP with external .as files, why doesn’t a normal function call work?

function worksFine() {  
this.onPress = super.myFunc;  
}

function doesntWork() {  
super.myFunc();  
}

In other words, how can i call a function from another function, and why is this seemingly illegal?

thanks
