Problem in calling function

package com.games.flashgames.common {
import flash.display.;
import flash.events.
;

public class Title extends MovieClip {
    
        startButton.addEventListener(MouseEvent.CLICK, startButtonClicked);

}

    private function startButtonClicked(mouseEvent:MouseEvent):void {
        Object(parent).showHighScores();
    }    
}

the code works fine , but actually i want the “Object(parent).showHighScores();” to be load automatically without clicking the button (auto call the function once the page loaded), i tried use Event.Enter_frame but it wont stop running, can u help me ?