Now, naturaly i need to provide the ability to add projects to this list. So i have a small screen open up that you add info into and add it. This semi works, the new project tab is added to the list, and the data appears to show up in the text file just fine. The problem comes when i try to expand/collapse the tab, whever i attempt to access the properties of the tab object, i get the error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
Now ive tried everything i can think of, and im stuck, the code used to create the tabs when loading and when adding new ones are identicle (down to i is replaced with tmpID) the code can be found here. http://pastebin.com/m433923c1
if anyone has any insight, id really appreciate it, this ones had me stumped for a few days now.
Edited by flamereaper, 06 September 2008 - 04:56 PM.