[AS2] Is it possible the class can call the function that in the timeline?

Is it possible the class can call the function that in the timeline?

coz I want to use freetransform actionscript to apply “myMovie” class function …
but the error msg: Error There is no method with the name ‘addFreeTransform’.

Thanks for help…

in myMovie.as


class myMovie extends MovieClip{
    
    static var EmptyMovieNum:Number=0;
    
    function EmptyMovie()
    {
        EmptyMovieNum++;
    }
    
    static function getMovieNum():Number
    {
        var A:Number = EmptyMovieNum;
        return A;
    }
    
    static function setMovieNum(A:Number)
    {
        EmptyMovieNum = A;
    }
    
    function onPress():Void
    {
        this.addFreeTransform(mystyle);
    }

in my FLA file, same as http://www.senocular.com/flash/actionscript.php?file=ActionScript_1.0/Prototypes/MovieClip/FreeTransform.as


FreeTransformStyle = function(linestyle, fillstyle, layout, autoRaise, autoRemove, sizeRestrict){
    if (linestyle != undefined) this.linestyle = linestyle;
    if (fillstyle != undefined) this.fillstyle = fillstyle;
    if (layout != undefined) this.layout = layout;
    if (autoRaise != undefined) this.autoRaise = autoRaise;
    if (autoRemove != undefined) this.autoRemove = autoRemove;
    if (sizeRestrict != undefined) this.sizeRestrict = sizeRestrict;
    this._freetransforms = [];
    this._arms = [];    
    return this;
}
FreeTransformStyle.prototype.linestyle = [0,0x000000,100];

....
(skip)
....

MovieClip.prototype.addFreeTransform = function(style){
    if (this._FTobject) this.removeFreeTransform();
    this._FTobject = new FreeTransform(this,style);
}