# Quick Question!

**URL:** <https://forum.kirupa.com/t/quick-question/16733>\
**Category:** flash\
**Created:** [March 27, 2003, 10:29pm UTC](https://forum.kirupa.com/t/quick-question/16733 "2003-03-27T22:29:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Grant](https://avatars.discourse-cdn.com/v4/letter/g/a5b964/32.png) [@Grant](https://forum.kirupa.com/u/Grant)\
**Post date:** [March 27, 2003, 10:29pm UTC](https://forum.kirupa.com/t/quick-question/16733/1 "2003-03-27T22:29:47Z")

</div>

Im sure someone can answer this one fast. Ok i wondering if having alot of hit.tests on 1 MC will End up slowing down my movie. Lets say for example i have 50 hit.tests with Ball and other random objects. At 48 FPS would this slow down my movie? any info on this topic would be very benfitical

---

<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:** [March 27, 2003, 11:10pm UTC](https://forum.kirupa.com/t/quick-question/16733/2 "2003-03-27T23:10:16Z")

</div>

I would suggest putting the FPS at 30…

Now… What type of objects is it hitting? Are they very complex shapes or simple shapes… 50 hitTests seems like a lot… I’d suggest doing this man… Splitting the number of hitTests in between 2 frames instead of having them all play on one frame…

[AS]  
frame = 0;

if(frame == 0)  
{  
//test first 25 hitTests;  
frame = 1;  
}  
else  
{  
//test last 25 hitTests;  
frame = 0;  
}  
[/AS]

That should speed it up alot… 😉

playamarz

---

<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:** [March 27, 2003, 11:44pm UTC](https://forum.kirupa.com/t/quick-question/16733/3 "2003-03-27T23:44:03Z")

</div>

Ahh good idea thanks. Simple yet very effective ! 🙂

---

<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:** [March 28, 2003, 9:24am UTC](https://forum.kirupa.com/t/quick-question/16733/4 "2003-03-28T09:24:49Z")

</div>

You could split it up further if need be to speed it up… But I think this should help it out enough 🙂

playamarz
