Use acceleration to change the velocity of a FlxObject over time.

// object will accelerate from left to right 250 pixels per second
object.acceleration.x = 250;

// if the object starts at velocity.x = 0:
// at 0.5 seconds, velocity.x = 125
// at 1.0 seconds, velocity.x = 250
// at 2.0 seconds, velocity.x = 500
// etc.

Demonstration

package;

import flixel.FlxG;
import flixel.FlxSprite;
import flixel.FlxState;

class PlayState extends FlxState
{
	var sprite:FlxSprite;
	
	override function create()
	{
		super.create();
		
		sprite = new FlxSprite("assets/sprite.png");
		sprite.y = FlxG.height / 2 - sprite.height / 2;
		add(sprite);
		
		sprite.acceleration.x = 400;
	}
	
	override function update(elapsed:Float)
	{
		if (sprite.velocity.x > 0 && sprite.x >= FlxG.width - sprite.width)
		{
			sprite.x = FlxG.width - sprite.width;
			sprite.velocity.x = 0;
			sprite.acceleration.x *= -1;
		}
		else if (sprite.velocity.x < 0 && sprite.x <= 0)
		{
			sprite.x = 0;
			sprite.velocity.x = 0;
			sprite.acceleration.x *= -1;
		}
		
		super.update(elapsed);
	}
}