# Static function trouble

**URL:** <https://forum.kirupa.com/t/static-function-trouble/235556>\
**Category:** flash\
**Created:** [August 12, 2007, 9:02pm UTC](https://forum.kirupa.com/t/static-function-trouble/235556 "2007-08-12T21:02:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![themxguy](https://avatars.discourse-cdn.com/v4/letter/t/ecc23a/32.png) [@themxguy](https://forum.kirupa.com/u/themxguy)\
**Post date:** [August 12, 2007, 9:02pm UTC](https://forum.kirupa.com/t/static-function-trouble/235556/1 "2007-08-12T21:02:11Z")

</div>

I’m going to try my best to layout the problem. I have 3 external .as files…

Game.as  
Checker.as  
CheckerP2.as

In Checker.as I have the following function…

static function checkPossibleMoves(){  
…  
}  
I’m able to call and execute this function from Games.as using the folowing code…

Checker.checkPossibleMoves()

But whenever I use the same function call in CheckerP2 the function does not execute, anyone know what could be the problem?
