I need help trying to update Flash4 ActionScript to use in FlashMX

My situation is this: on frame 5 (which Is named “calculate”) There is ActionScript for calculating items selected by the user. On frame 1 there is ActionScript stating call (“calculate”); Which I understand is deprecated ActionScript from Flash 4 that will not work with Flash 6. I know it executes the ActionScript on the "calculate " frame without sending the play head there. This is what I would like to accomplish in FlashMX, but I’m not sure how to update the Script to do this.
Thanks for any help!