This. reference within and object

I am trying to make a module to load and parse some xml and have run into some problems so I made this sample code to work with it. The code works fine if I have a reference (see the line with **************) the setVariables method with the name jObject.setVariables, but when I use: this.setVariables :it doesn’t work. When I use: trace(this); : it prints the whole XML document. Any Ideas?

myTry = function(myObjName){ = myObjName;
trace(“myTry object made”);
myTry.prototype.eventNum = null;
myTry.prototype.eventTitles = new Array();
myTry.prototype.eventDescriptions = new Array();
myTry.prototype.eventReferences = new Array();
myTry.prototype.myLoadEm = function(success){
if(!success ){
trace(“Your document didn’t load”);

trace(“Your document loaded”);
trace("::::::::::::::::::::::<img src= ALT=":"> n" +this + "
******************** this.setVariables(); *************

myTry.prototype.makeIt = function(){
myXMLDoc = new XML();
myXMLDoc.ignoreWhite = true;
myXMLDoc.onLoad = this.myLoadEm;

myTry.prototype.setVariables = function (){
trace(“In the setVariables”);
this.eventNum = myXMLDoc.firstChild.childNodes.length;

for(i=0;i this.eventTitles = myXMLDoc.firstChild.childNodes.attributes.title;
this.eventDescriptions = myXMLDoc.firstChild.childNodes.firstChild.firstChild.firstChild;
this.eventReferences = new Array();//XMLData.firstChild.childNodes.firstChild.childNodes;//.nextSibling.firstChild;
this.eventNum = myXMLDoc.firstChild.childNodes.firstChild;
for(j=0;j.firstChild.firstChild.nextSibling.childNodes.length; j++){
this.eventReferences[j] = myXMLDoc.firstChild.childNodes.firstChild.firstChild.nextSibling.childNodes[j].firstChild;
return 1;

jObject = new myTry(jObject);
obj2 = new myTry(“blamb!!!”);