"I get a null object error on strtRoot" which line raises the exception? Paste the text of the error.
You are *sure* that this line is in a function? strtRoot = new Thingy(somearrary[1]); Tracy ________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of flexaustin Sent: Friday, November 21, 2008 6:12 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Null object doesnt exist? What is going on? Ok, in my custom component I have this line: // root node to start with private var strtRoot:IThingy; Later in a function call from init() I call this: strtRoot = new Thingy(somearrary[1]); I get a null object error on strtRoot. I am try to create strtRoot why am I getting this error? I use this code in another area and it runs fine, but when I use it to create another object it throws an error. And yes I have check that somearray[1] exists. TIA