Update Scroller.as

Added missing type checks in function params.