1 Reply Latest reply on Jan 4, 2009 8:12 AM by kglad

    Checking if Video is player is loaded..Please help

    combustion007 Level 1
      Hello,

      I have a two as files on my main timeline:
      init.as
      videoplayer.as

      I have a toggle video button which loads the video player on or off. while it loads video player, it also sets the _global variable isVideoPlaying to "true".

      Where should I declare this global variable? Should I declare it on the VideoPlayer.as or on Main timeline(root).

      I am not certain how to check if the video is on or not from init.as file.

      Appreciate all your help.
      Thanks.