removeChild help
The function with the removeChild problem is ClearMsg.
I have a custom function that doesn't function correctly the first time the function executes it removes a textFiled from the display list without a problem but the second time that it executes it won't remove a second textfield and I don't know why here is the code from the time the textField is added to the diplay list to where its deleted.....Btw the function in question is being executed by a custom event listener.....the errors i receive are TypeError: Error #1009: Cannot access a property or method of a null object reference...Also note that i can remove the textField in question from any function other thatn the one the custom event executes....the custom event function is the problem....anybody have a solution?....also keep in mind that every go around the whole class is called again so all the msgTa = newTextFeild are called repeatedly.
Plz let me know if you need furthur clarification.
| |
| |