Floating Movieclip Effect [as3]


Anyone have any idea how I can make a movieclip randomly slowly float around within a certain specified area on the page?

The way I’m doing it now… is I use TweenMax… set a bezier, and have the object tween randomly every 20 seconds to a random spot using the Timer class. This is looks okay… but I’m sure there’s a better way to do it so I can control the area which I want it to float within more easily.

Any ideas? Thanks.