Restart or Replay a movie
Hello,
I am new to actionscript 3 and cs5 flash.
I have a movie that includes 2 .as files. Not sure if that matters here or not.
When the movie runs, the first function hides 80 symbols. When that is complete it calls a second function that displays a clock and counts down from a predetermined time.
When the clock hits 00:00 then the last and final function that gets called loads xml data and performs tweens based on that data. The xml data file gets overwritten every 5 minutes or so. This time is a variable and can be changed on the fly.
Where I am stuck is at the end of the tweening I would like to simply restart the movie per say, from the beginning so it will call the function to clear all the symbols again and start the timer and then load the new data and perform the tweens. Sounds pretty easy but I have not been able to successfully find anything related to this or get it to work.
For my tweens I am using tweenMax and timelineMax. It works very smooth and was easy to implement.
Could someone help me by pointing me to some tutorials related to this, sample code, pointers etc...
Thanks so much.