Feisty rapper Foxy Brown pleaded not guilty Thursday to violating an order of protection when cops say she cursed out and then exposed herself to a neighbor, an arch-rival. Brown, wearing a teal dress and a leopard-patterned scarf, remained silent and emotionless during her arraignment at Brooklyn Criminal Court. Prosecutors asked for $10,000 bail, but the bad girl Brooklyn rapper was released on $5,000. Police sources say Brown, 30, was rehearsing in her Prospect Heights pad Wednesday before her ugly encounter with neighbor Arlene Raymond, whom the rapper was accused of beaning with a BlackBerry in 2007. Raymond looked at Brown - and Foxy flipped out, giving Raymond an earful followed by an eyeful, sources said. "B----, what are you looking at? What the f--- are you looking at?" Foxy snarled before lifting her skirt, the sources said, citing Raymond's complaint. Raymond, who took out a restraining order against Brown following the BlackBerry beatdown, called police. Brown, whose real name is Inga Marchand, was collared and slapped with one count of criminal contempt - a class E felony - for violating the order of protection, which bars her from having contact with Raymond, the sources said. Outside the courtroom Thursday, Brown's lawyer, Bruce Baron, defended the controversial entertainer. "This case will exemplify that orders of protection should be used as shields and not as swords," he said. If convicted, Brown faces up to seven years behind bars.