U.S. officials in Venezuela say supporters of President Hugo Chavez burned a U.S. flag , set tires on fire and surrounded a building that the American ambassador was visiting Wednesday , temporarily trapping him inside .