Make Button's Function Execute Once Without Buttong Being Pressed

Hello. I’m new to ActionScript 3. Here’s my problem.

I have a function that executes when a button is pressed:

btnRandomAll.addEventListener(MouseEvent.CLICK, clickHandlerBtnRandomAll);
function clickHandlerBtnRandomAll(e:Event)
{

…but, I need it to also execute once, upon the file loading.

Can someone tell me how that can be done? Thanks.

Steve