# Repel effect

**URL:** https://forum.kirupa.com/t/repel-effect/96953
**Category:** Uncategorized
**Created:** [December 15, 2003, 9:08pm UTC](https://forum.kirupa.com/t/repel-effect/96953 "2003-12-15T21:08:31Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![hamidb4](https://avatars.discourse-cdn.com/v4/letter/h/898d66/32.png) [@hamidb4](https://forum.kirupa.com/u/hamidb4)
#### Post date: [December 15, 2003, 9:08pm UTC](https://forum.kirupa.com/t/repel-effect/96953/1 "2003-12-15T21:08:31Z")

</div>

hi, how can you use the repel effect here [http://www.kirupaforum.com/forums/showthread.php?threadid=40711](http://www.kirupaforum.com/forums/showthread.php?threadid=40711)  
on movie clips you make on the stage?  
Thank you.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [December 15, 2003, 9:43pm UTC](https://forum.kirupa.com/t/repel-effect/96953/2 "2003-12-15T21:43:33Z")

</div>

in place of the for loop in the last part of that script, instead of duplicating clips there, assign repel to the onEnterFrame event of each of your movieclips on the stage.
