Answered
Reseting a function/movie
Hi,
I'm creating a short movie using a script I found (not mine) but I'm not sure how to reset the script to stop multiple instances running.
I have three frames the first with a button to go to the next frame, the second with the fireworks script (below). After a pause the the third frame which offers the user to view the movie again.
Currently each time the movie is viewed another instance of the function is created (I think) resulting in more and more fireworks and a big slow down. I just want it to run from scratch each time, which is simple I guess but I not really a very regular flash user.
Thanks
Here is the script.
I'm creating a short movie using a script I found (not mine) but I'm not sure how to reset the script to stop multiple instances running.
I have three frames the first with a button to go to the next frame, the second with the fireworks script (below). After a pause the the third frame which offers the user to view the movie again.
Currently each time the movie is viewed another instance of the function is created (I think) resulting in more and more fireworks and a big slow down. I just want it to run from scratch each time, which is simple I guess but I not really a very regular flash user.
Thanks
Here is the script.