Access to parent swf functions

Hello,
I was wondering if there was a way to reference methods in the parent movie from the child. The following is a snippet of what i am currently doing

Parent AS DocumentClass:

Security.allowDomain(domain+"*");

displayObject = new Loader();
displayObject.load(new URLRequest(list.location), new LoaderContext(false,ApplicationDomain.currentDomain));
displayObject.contentLoaderInfo.addEventListener(Event.INIT,swfLoadComplete);
addChild(displayObject);

private function swfLoadComplete(e:Event):void {

displayObject.contentLoaderInfo.removeEventListener(Event.INIT,swfLoadComplete);
displayObject = e.target.content;
loader.visible = false;
}

    public function testfunction(){
        trace("this is a test");
    }

Child SWF:
Security.allowDomain(domain+"*");
trace(parent) // returns null when loaded into the parent i would have thought that it would return the loader object