public/javascripts/yui/carousel/carousel-debug.js
function () {
            var carousel = this, timer;

            if (JS.isUndefined(carousel._autoPlayTimer)) {
                timer = carousel.get("autoPlayInterval");
                if (timer <= 0) {
                    return;
                }
                carousel._isAutoPlayInProgress = true;
                carousel.fireEvent(startAutoPlayEvent);
                carousel._autoPlayTimer = setTimeout(function () {
                    carousel._autoScroll();
                }, timer);
            }
        }
function () {
            var carousel = this, timer;

            if (JS.isUndefined(carousel._autoPlayTimer)) {
                timer = carousel.get("autoPlayInterval");
                if (timer <= 0) {
                    return;
                }
                carousel._isAutoPlayInProgress = true;
                carousel.fireEvent(startAutoPlayEvent);
                carousel._autoPlayTimer = setTimeout(function () {
                    carousel._autoScroll();
                }, timer);
            }
        }
function ( ) { var carousel = this , timer ; if ( JS . isUndefined ( carousel . _autoPlayTimer ) ) { timer = carousel . get ( "autoPlayInterval" ) ; if ( timer <= 0 ) { return ; } carousel . _isAutoPlayInProgress = true ; carousel . fireEvent ( startAutoPlayEvent ) ; carousel . _autoPlayTimer = setTimeout ( function ( ) { carousel . _autoScroll ( ) ; } , timer ) ; } }
Start auto-playing the Carousel.

@method startAutoPlay
@public
Start auto - playing the Carousel .