Attach a movieclip in your Flash IDE library to this script, making sure you have the greensock tweening library classes present in your application structure. It will buzz around and fly in completely random paths. Play around with the stage bounds and easing to tweak it to suit. You could also make your insect perform an action in between where it stops and flies off again.