This content has been marked as final. Show 4 replies
inside the second if statement you are pointing to the text field with a path starting with 'this'.
but you seem to know that 'this' refers to the xml object when a few lines above you use this.firstChild...
LuigiL, thank you!
Aaarrrgggghhhh, scope always messes me up!
I just took out the "this." and it now works. Was that the thing to do?
Where can I read up on scope a bit, that seems to be a reoccuring issue
Thank you very much!
You're welcome Brian. It's not that hard. The problem occurs with all callback handlers - onLoad, onData, onRelease and anything else that start with 'on'... :-) and that goes for AS2. Some developers like to use the Delegate Class in those cases but if you want to pass parameters using that class you will need a hack like solution to do that.
Reading up on scope, hmm, I remember there was good information in the help files - hit F1 and search for scope.
Luigi, thanks a lot, I will do that!