# Object Oriented Question

**URL:** <https://forum.kirupa.com/t/object-oriented-question/219740>\
**Category:** flash\
**Created:** [March 19, 2007, 9:38pm UTC](https://forum.kirupa.com/t/object-oriented-question/219740 "2007-03-19T21:38:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![clot](https://avatars.discourse-cdn.com/v4/letter/c/e9c0ed/32.png) [@clot](https://forum.kirupa.com/u/clot)\
**Post date:** [March 19, 2007, 9:38pm UTC](https://forum.kirupa.com/t/object-oriented-question/219740/1 "2007-03-19T21:38:54Z")

</div>

Hey guys, I realize this puts me totally in the realm of freak but here goes.

I am dynamically creating a movieclip, say, a ball.

I want to apply a movement to each new ball created.

I have created a movement function and now I need to know how to use this function as a method on each newly created ball.

Would I do something like this:

ball.moveThis();

or

moveThis(ball);

Please let me know if you need me to explain further.
