There is an argument in FlxG.collide() for callback function. You can try reseting the undesired velocity of the box inside the callback.
And so ? Is there one already made or should I just copy/paste the one from flixel?
Looks like your connection to HaxeFlixel was lost, please wait while we try to reconnect.