Sounds like she is getting a lot of negative reinforcement and not much positive reinforcement. Kids will do anything to get attention, even if it is negative attention. However, give kids positive reinforcement and it is absolutely amazing at how well behaved they can be. My daughter is 4 and while she is not horribly behaved, she does like to throw her tantrums over the littlest things. The day I changed my reactions towards her in general and started giving her more positive feedback and praise, she turned around instantly. I was never one to not praise her, but when her tantrums came on, she would be in trouble. Now I just ignore them when she has them and she quickly calms down and moves on. And I praise/thank her for even the littlest things from throwing her brother's diaper away to the big things like learning to ride her bike.
I was working on positive reinforcement and praise before seeing this ABC special, but watching it hit home as to how much our children really do just want attention - good or bad. If you get a chance, watch it...you never know some tips may help with your daughter.
http://abc.go.com/watch/primetime-family-secrets/216354/2...