Ticket #113 (closed bug: fixed)

Opened 5 years ago

Last modified 5 years ago

imagerotator 'repeat=list' not working

Reported by: jeroen Owned by:
Priority: Milestone: Flash 3.17
Component: Keywords:
Cc: Forum thread:

Description

If the user clicks next when in the 'list' repeat mode, the slide show would not stop when it reaches the last item. Instead it would stop later. The patch below makes it stop after the last items was shown:

--- orig\com\jeroenwijering\players\RotatorController.as 2008-04-04 13:08:04.000000000 +-0200 +++ com\jeroenwijering\players\RotatorController.as 2008-06-13 16:52:56.000000000 +-0200 @@ -131,13 +131,13 @@

/ Determine what to do if an item is completed. / private function setComplete() { itemsPlayed++;

if(configrepeat?=="false"
(configrepeat? == "list"
  • && itemsPlayed >= feeder.feed.length)) {

+ && currentItem == feeder.feed.length-1)) { sendChange("pause",0); isPlaying = false; itemsPlayed = 0; } else { if(configshuffle? == "true") { setPlayitem(randomizer.pick());

Change History

comment:1 Changed 5 years ago by jeroen

  • Status changed from new to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.