controller.restartTimeline(); serious lag
When I use controller.restartTimeline(); in the timeline "Start" action, on a timeline that contains a video, the entire scene takes at least 5 seconds to load. Is there a better, more performance efficient way to do this?
The slowdown is probably due to video being reinitialized. Instead of restarting the scene, would it be an option to only restart the video? This would probably be a lighter solution, and you can restart the video in question by giving it an ID under Object->General->ID and then writing some code to reset the video timeline. Take a look at this thread for more details:
iPad doesn't support currentTime
Tags for this Thread