Need examples/scripts of random motion

So I’m going to try building a little flash thing that has a bug that follows your cursor around, but just sort of “buzzes” randomly around it. I’m sure I’ve seen something like this before, but I can’t think of where. Do any of you have any ideas on where to start looking for something like this?

Thanks!

there are both as2 and as3 versions of this book - it has many examples that should get you to your goal:
[URL=“http://www.amazon.com/Foundation-ActionScript-Animation-Making-Things/dp/1590595181/ref=pd_bbs_sr_2?ie=UTF8&s=books&qid=1212182006&sr=8-2”]
see as2 book here

Sweet, thanks creatify :beer:

(It even has a bee on the cover, which is what I was planning on animating… awesome)