1 Reply Latest reply: Sep 20, 2011 12:46 PM by captfoss RSS

    Struggeling for years with the setstoptime() error

    888124
      Hello,

      has somebody a solution or give me some hits to solve the cannot setstoptime() on started player .

      I'm controlling frames with a JSpinner,everytime i use the spinner, the movie goes to the next or previous frame
      with this command

      fpc = (FramePositioningControl) player.getControl("javax.media.control.FramePositioningControl");


      player.stop();
      player.setStopTime(fpc.mapFrameToTime(stopframe));


      but when i click fast it seems there is a dely between the stop() and the setstoptime() , is the a method to wait until player has stopped and the call tje setstoptime()?


      with regards
      sven