Call function in other .as file

In short: how can i call a function in another .as file? Is there a way to make header files or forward declarations in AS3?

Output


BREAKPOINT1
1061: Call to a possibly undefined method playerCharMove
through  a reference with static type Class.

game.fla layer 1 frame 1


import Core;
import playerChar;

Core.as

package
{
     import flash.display.MovieClip;
    import flash.events.*;
    import flash.utils.*; 
     
    public class Core extends MovieClip {

        public function Core() {
            addEventListener(Event.ENTER_FRAME,moveChar);
        }

        public function moveChar(event:Event) {
            trace("BREAKPOINT1")
            playerChar.playerCharMove();
            removeEventListener(Event.ENTER_FRAME,moveChar)
        }

    }
    
}

playerChar.as

package
{
     import flash.display.MovieClip;
    import flash.events.*;

public class playerChar extends MovieClip                  
    {    
        public function playerCharMove() 
        {
            trace("BREAKPOINT2")
        }
    }
}