# There is no Method with the name?

**URL:** <https://forum.kirupa.com/t/there-is-no-method-with-the-name/196427>\
**Category:** Uncategorized\
**Created:** [August 8, 2006, 10:12am UTC](https://forum.kirupa.com/t/there-is-no-method-with-the-name/196427 "2006-08-08T10:12:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tolk](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/tolk/32/2496_2.png) [@tolk](https://forum.kirupa.com/u/tolk)\
**Post date:** [August 8, 2006, 10:12am UTC](https://forum.kirupa.com/t/there-is-no-method-with-the-name/196427/1 "2006-08-08T10:12:37Z")

</div>

I have an .as file with the code:

Math.getMiddle = function(a,b){

…

}

I have a .fla file that includes the .as file and then trys to run the methods in the .as file. I get the error:

**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 357: There is no method with the name ‘getMiddle’.

Anyone help?
