1 person found this helpful
Just use the code that is inside the function, without the button code surrounding it...
My movie has 1 frame. I deleted the layer that had the button, so I have an AS layer with the following code in it.
And a layer below it with my movie clip with the Function code on one layer and the text in another layer below it.
When I do play it, nothing happens. But when I add some frames to the movie, it starts after a delay, but I keep seeing "START" in my output tab due to the Trace I have, which makes the text appear very quickly. I think I may need some code to stop it from restarting.
Where should this code you provided be put? And do I need additional code to have the text not speed up?
You put the code in whatever frame or whatever function where you want the function to be called.
The speed of the typing is set by the _sec variable, so to slow it down you need to make the value larger