thatrenowned
MIS
I have a function with a loop which creates (attaches) some textAreas and at the end of the loop I have it create an onRelease function for whatever textArea was created. The onRelease function calls another function (called displayInfo) and passes 'this' and another variable. When I trace both these variables in the displayInfo function it shows up fine - it has the correct information.
Now if I try to slice the 'this' variable (which is now stored in textAreaName) it just returns it as undefined even though it works fine for the other variable which was passed. When I trace textAreaName, it shows up fine as _level0.movieClipName.textArea0 (or 1 or 2 etc depending on what they click on) but trying to slice it doesn't work. Does anyone know why this is?
I'm probably not being very clear so if you need more info let me know!
Now if I try to slice the 'this' variable (which is now stored in textAreaName) it just returns it as undefined even though it works fine for the other variable which was passed. When I trace textAreaName, it shows up fine as _level0.movieClipName.textArea0 (or 1 or 2 etc depending on what they click on) but trying to slice it doesn't work. Does anyone know why this is?
I'm probably not being very clear so if you need more info let me know!