This content has been marked as final. Show 5 replies
use the trace() function just prior to your return statement.
Thanks for the reply, I think my question was not clear.
I don't want to trace the value within the function, I want to store the value returned bu the function in a variable,
my problem is how can i use the value returned by a function when i am calling it using setinterval
then store the value in a variable just prior to your return statement.
OK, that solves the problem a bit.
actually i was trying to create typewriter effect, it's working now but in this way this script is not reuseable.
Following is the script i created, Please see if there is any batter way available.
pass the textfield that you want to populate with your typewriter effect. for example, if you wanted to use the same textfield as the source of the text and the typewriter display you could use: