What the mother loving

I’ve got a timer event in my document class the calls the moveTheShip function from the ship class and its working…mostly. Most of the traces come up and the rudimentary ship movement works BUT it completely ignores the addForceVectors function.

Here is the code in question

package 
{
    import flash.display.MovieClip;
    import flash.events.*;
    import flash.ui.Keyboard;
    import flash.utils.Timer;
    

    
    public class Ship extends MovieClip
    {    
        
        
        public function Ship()
        {
            
            trace("ship checking in");
        }
        public function moveTheShip(event:TimerEvent):void
            {
                
                  trace("soFarSoGood");
                
                function addForceVectors()
                {
                    trace("addingForceVectors");
                }
                
                
                 function stearingWheel(event1:KeyboardEvent):void
                {
                    switch (event1.keyCode)
                                    {
                                        case Keyboard.UP:
                                        y-=1;
                                        //burn();
                                        break;
                
                                        case Keyboard.LEFT:
                                            x -=1;
                                            //burn();
                                            break;
                                            case Keyboard.RIGHT:
                                            x+=1;
                                            //burn();
                                            break;
                                            default:
                                            trace("no button heard");
                                    }
                }
                trace("eventListener");
                stage.addEventListener(KeyboardEvent.KEY_DOWN,stearingWheel);
                        //function burn():void
//                        {
//                            trace ("burning");
                        
                    
                
                
                
            }
    }
}

So again I beg the question…“What the mother loving…”

Thanks guys

rob