public void togglePlayPreview(float startTime)
 {
     if (timelineController.Playing)
     {
         timelineController.stopPlayback(false);
     }
     else if (currentTimeline != null)
     {
         timelineController.startPlayback(currentTimeline, startTime, false);
     }
 }
        public void playTimeline(String timelineName)
        {
            Timeline timeline = timelineController.openTimeline(timelineName);

            if (timeline != null)
            {
                if (timelineController.Playing)
                {
                    timelineController.stopAndStartPlayback(timeline, true);
                }
                else
                {
                    timelineController.startPlayback(timeline);
                }
            }
            else
            {
                Log.Warning("AnomalousMvcCore playback: Error loading timeline '{0}'", timelineName);
            }
        }