Used when someone shows excitement or affection through a physical action. The puppy flung itself at the girl, licking her face joyously.
Pro Tip 2/2
Not Literal
Sometimes used metaphorically to express a strong pull or attraction towards something. He flung himself at the chance to travel abroad, eagerly packing his bags.