Venezuelan President Hugo Chavez has flown to Cuba for a third cancer operation after designating the vice president as his political heir. State television showed images of Mr Chavez hugging vice president Nicolas Maduro and other aides before boarding the presidential jet.