Ticket #113 (closed bug: fixed)
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++;
| (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());
