HaxeFlixel/flixel — pull request #657 by newtzgames (2013-10-01 23:55:19+00:00)
Title: Fixed FlxGamePad alpha calculation.

set_alpha was updating alpha on all its buttons using members.length instead of this.length, which aren't always equal due to the way the FlxTypedGroup auto-grows in size. To demonstrate, make a gamepad with left/right buttons and an A button. Watch as it crashes with an array out of bounds error.