# Chugging problem - onEnterFrame

**URL:** <https://forum.kirupa.com/t/chugging-problem-onenterframe/267977>\
**Category:** Uncategorized\
**Created:** [August 7, 2008, 7:51pm UTC](https://forum.kirupa.com/t/chugging-problem-onenterframe/267977 "2008-08-07T19:51:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zoo\_buffalo](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/zoo_buffalo/32/2467_2.png) [@zoo\_buffalo](https://forum.kirupa.com/u/zoo_buffalo)\
**Post date:** [August 7, 2008, 7:51pm UTC](https://forum.kirupa.com/t/chugging-problem-onenterframe/267977/1 "2008-08-07T19:51:06Z")

</div>

I’m having a bit of an issue with chugging - it’s because I have 2 onEnterFrames going at the same time. I’m making a site which has a magnifying glass - when you pick it up and drag it it starts an onEnterFrame to grab the bitmap data and make a magnification. This gets deleted when you drop the magnifying glass. Elsewhere on the page is a sparkling effect which is churning out sparkles which get deleted from the stage - I’m garbage collecting as much as I can… both work great indivually… put them together and there’s a noticable chug when dragging the magnifying glass. UGH! Any ideas on how I can trim this guy down? Thanks…  
emma.
