# Senocular's ParticleBehavior repel method (problems with)

**URL:** <https://forum.kirupa.com/t/senoculars-particlebehavior-repel-method-problems-with/229265>\
**Category:** flash\
**Created:** [June 15, 2007, 10:55am UTC](https://forum.kirupa.com/t/senoculars-particlebehavior-repel-method-problems-with/229265 "2007-06-15T10:55:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stratboy](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/stratboy/32/3054_2.png) [@Stratboy](https://forum.kirupa.com/u/Stratboy)\
**Post date:** [June 15, 2007, 10:55am UTC](https://forum.kirupa.com/t/senoculars-particlebehavior-repel-method-problems-with/229265/1 "2007-06-15T10:55:33Z")

</div>

Hi you all! I can’t get this work:

prt01.onEnterFrame = ParticleBehavior.create(“repel”);

The particle is prt01. Any other method of the class works properly, but ‘repel’ seems broken.

I’ve tryed to initialize the vx, vy, v vars to =0 in the class just to see, and the particle moves. But I’d like not to modify the original class, since I could do something wrong.

Anyone knows how to get it work?

Thank you!
