Strut

meaning: to walk in a proud way trying to look important:

usage: The boys strutted around trying to get the attention of a group of girls who were nearby .