I am trying to add an object to a list box but it doesn't seem to be adding. I get the correct output when doing a trace on the listbox or a trace on the object information I am trying to add. (so the listbox exists and the object exists).
ie. doing a trace(code.listbox); outputs theCode'sPath.listbox
but trying to access properties of the listbox outputs 'undefined'. (eg. code.listbox.getLength() or getEnabled() gives undefined)
I am just doing a code.listbox.addItem(blah.getInfo() + "string", blah); to add the item
the function that contains this addItem is used earlier in the program and works fine so i'm not sure why it's working now.
Any suggestions would be appreciated, I've been staring at this for a LOOOONG time...