# Floating Movieclip Effect \[as3\]

**URL:** <https://forum.kirupa.com/t/floating-movieclip-effect-as3/289289>\
**Category:** flash\
**Created:** [May 28, 2009, 3:28pm UTC](https://forum.kirupa.com/t/floating-movieclip-effect-as3/289289 "2009-05-28T15:28:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mycaptainkite](https://avatars.discourse-cdn.com/v4/letter/m/7feea3/32.png) [@mycaptainkite](https://forum.kirupa.com/u/mycaptainkite)\
**Post date:** [May 28, 2009, 3:28pm UTC](https://forum.kirupa.com/t/floating-movieclip-effect-as3/289289/1 "2009-05-28T15:28:45Z")

</div>

Hi,

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.
