Delay time

Last post 11-29-2010, 8:34 AM by Eric. 1 replies.
Sort Posts: Previous Next
  •  11-28-2010, 10:58 PM 65184

    Delay time

    How can I delay the time between each image file during the sliding process?
  •  11-29-2010, 8:34 AM 65193 in reply to 65184

    Re: Delay time

    Dear iomega55,
     
    Please open file CuteSoft_Client\Gallery\Layout\SlideShow\Code.js, you can find the following code:
     
    menu.Add(1,"Faster",this._speed==2.0?selimg:null,ToDelegate(this,function(){
      this.SetSpeed(2.0);
     }));
     menu.Add(1,"Medium",this._speed==5.0?selimg:null,ToDelegate(this,function(){
      this.SetSpeed(5.0);
     }));
     menu.Add(1,"Slower",this._speed==8.0?selimg:null,ToDelegate(this,function(){
      this.SetSpeed(8.0);
     }));
    You can use function "SetSpeed" to set the play speed in slideshow layout.
     
    Thank you for asking
View as RSS news feed in XML