Blink function timing changes, when I return to main menu and then back to experience
In my project the blink function timing changes(flashing is incorrect) when I return to main menu and then back to experience.
I have used 3D image with interval function JS.
$scope.blink= function(){
interval= $interval( function(){
$scope.app.view.View2.wdg["3DImage-1"]["visible"] = !$scope.app.view.View2.wdg["3DImage-1"]["visible"];
$scope.app.view.View2.wdg["modelItem-1"]["visible"] = !$scope.app.view.View2.wdg["modelItem-1"]["visible"];},
600);}
It works perfect on first time with 600 milliseconds, It going wrong(flashing is incorrect & 300 milliseconds) when I return to main menu and then back to experience.
can someone tell me how to solve this.

