# Dynamic onenterframe

**URL:** <https://forum.kirupa.com/t/dynamic-onenterframe/121378>\
**Category:** Uncategorized\
**Created:** [September 2, 2004, 11:53am UTC](https://forum.kirupa.com/t/dynamic-onenterframe/121378 "2004-09-02T11:53:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gerartje](https://avatars.discourse-cdn.com/v4/letter/g/e19adc/32.png) [@gerartje](https://forum.kirupa.com/u/gerartje)\
**Post date:** [September 2, 2004, 11:53am UTC](https://forum.kirupa.com/t/dynamic-onenterframe/121378/1 "2004-09-02T11:53:09Z")

</div>

hello,

i have attached 4 squares (attachMovie) with a for-lus and i assigned a rollover and a rollout to them.  
If I go over a square, an onenterframe starts, and the square is getting bigger.  
When i rollout, the square is getting his normal size again.  
No when I move rapidly to another square, the problem starts. And the first square doesn’n reach his final width. The first square is even getting widther when I roll over the second square.  
All the code is in one frame.

I’ve tried to put the code on a movieclip, so at the square itself, and then it works, but isn’t it possibly to do it the first way? To put the code all in one frame?

Tnx
