Oop as2 - component - problem with referring class to itself

hello, im currently creating a component which calls on an xml file. i want a function from the class to be called once the xml is loaded, but i cant seem to target the function.

class className {
    
    // variable
    var inputXML:XML;

    // constructor    
    public function className () {
        this.init ();
    }
    
    // initialization
    private function init () {
        this.inputXML = new XML ();
        this.inputXML.ignoreWhite = true;
        this.inputXML.load ("xmlfile.xml");
        this.inputXML.onLoad = function (success) {
            if (success){
                this._parent.setContent (this);
            }
        }
    }

    // functions
    private function setContent (xml:XML) {
        trace (xml);
    }
}

logic suggests that since [FONT=Courier New]inputXML [/FONT]belongs to the class, it’s parent should be the class. however, with the onload, it seems that it cannot reach its parent. i even tried without relating to the class ([FONT=Courier New]setContent (this)[/FONT] instead of [FONT=Courier New]this._parent.setContent (this)[/FONT]) and still doesnt work

what should i look for?