Try using BGANIM command. The help screen shows 3 different ways to do it. Just pick one you're comfortable with.