Returning Object From a Function?

Hey All, I am new to AS3 and need to gather data from an XML file, parse it and then return all the vars to be used globally. How do I return an object like in the code below? I may be close but keep hitting walls and could some guidance.

If you have better (easier) ways I am wide open to your expertise.

var dSession:Object = new Object();

function parseXMLData(incomingData:XML):Object
{

    dSession.pname = incomingData.ses01.pname;
    dSession.pdate = incomingData.ses01.pdate;
    dSession.pspeaker = incomingData.ses01.pspeaker;
    dSession.pposition = incomingData.ses01.pposition;
    dSession.pcompany = incomingData.ses01.pcompany;
    dSession.pvideo = incomingData.ses01.pvideo;
    
    return dSession;

}

trace(dSession.pvideo);  // I'm getting no response (Like Steve Jobs)