Hi,
I'm trying to use a function that accepts a String as an argument. The string I need to send this function has been assigned to a variable: theText. The function works fine if I type a String (i.e."hi there" works fine), but not if I pass it the variable name. I tried eval(theText) which would work in Javascript, but seems I read somewhere that eval works differently in Flash. Anyway, I'm out of ideas. Can anyone please help me!???
Thanks!
I'm trying to use a function that accepts a String as an argument. The string I need to send this function has been assigned to a variable: theText. The function works fine if I type a String (i.e."hi there" works fine), but not if I pass it the variable name. I tried eval(theText) which would work in Javascript, but seems I read somewhere that eval works differently in Flash. Anyway, I'm out of ideas. Can anyone please help me!???
Thanks!