Animation Sequence in an AS 2.0 Class

Hello!

I am creating a class that will perform an animation (resize an object over 32 frames). Once the animation is complete I need to call the next step within the class yet I do not know how this is done.

the code is too clouded to give a clear example but let me give a sample of what I am trying to do within a class.

[AS]
private function animate():Void {

    my_mc.onEnterFrame = function () {

    // my animation code

        if (currentframe == 32) {
            delete this.onEnterFrame;
                            //I want to call "callwhenanimateisdone" here
        }
    }

}
private function callwhenanimateisdone():Void {
//next instructions
}
[/AS]

Make sense? seems simple enough… hopefully it is

Thanks in advance for any help given.