# Battling Codes / Conflict

**URL:** <https://forum.kirupa.com/t/battling-codes-conflict/83993>\
**Category:** flash\
**Created:** [March 23, 2005, 8:55pm UTC](https://forum.kirupa.com/t/battling-codes-conflict/83993 "2005-03-23T20:55:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![LJK](https://avatars.discourse-cdn.com/v4/letter/l/bb73d2/32.png) [@LJK](https://forum.kirupa.com/u/LJK)\
**Post date:** [March 23, 2005, 8:55pm UTC](https://forum.kirupa.com/t/battling-codes-conflict/83993/1 "2005-03-23T20:55:59Z")

</div>

Hi -  
I’m less than two months into Flash but really enjoy  
learning AS. This was one of my gravity/linear motion tests  
[stinkyPie.swf] and I find that two things aren’t working right:

1. The ‘Swarm’ - swarm.txt  
Uses an onEnterFrame handler, so they keep jumping up to the  
top left once the movie loops, otherwise they follow the mouse.  
How can I get them ‘independent’? [I tried onMouseMove, but it was too jerky.]

2. The ‘Piles’ - largePileBounce.txt  
Though the movie’s height is 375px and the script sets the  
bottom edge to 375, I can’t get either pile to reach it! Would  
like to have the smaller one higher, too - and for some crazy  
reason, it won’t comply when I enter a smaller value.

Any help would be great,  
El
