# Slow Frame rate on key press?

**URL:** https://forum.kirupa.com/t/slow-frame-rate-on-key-press/59173
**Category:** flash
**Created:** [July 29, 2004, 1:28am UTC](https://forum.kirupa.com/t/slow-frame-rate-on-key-press/59173 "2004-07-29T01:28:07Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![XIVdevil](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/xivdevil/32/658_2.png) [@XIVdevil](https://forum.kirupa.com/u/XIVdevil)
#### Post date: [July 29, 2004, 1:28am UTC](https://forum.kirupa.com/t/slow-frame-rate-on-key-press/59173/1 "2004-07-29T01:28:07Z")

</div>

Im trying to add a slow motion feel to a game (like bullet time), when the player presses a key, however, I cannot find any answer whatsoever.

so if anyone knows the answer, please tell me. thanks.

---

<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: [July 29, 2004, 1:35am UTC](https://forum.kirupa.com/t/slow-frame-rate-on-key-press/59173/2 "2004-07-29T01:35:45Z")

</div>

there is no way to change the framerate

but you could use some setInterval instead of onEnterFrame

---

<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: [July 29, 2004, 1:40am UTC](https://forum.kirupa.com/t/slow-frame-rate-on-key-press/59173/3 "2004-07-29T01:40:11Z")

</div>

Okay, thanks, but I have seen it, maybe it works differently to what I thought.

---

<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: [July 29, 2004, 3:14pm UTC](https://forum.kirupa.com/t/slow-frame-rate-on-key-press/59173/4 "2004-07-29T15:14:11Z")

</div>

ok I always wanted to try this out, so I just put some scrappy code together. Make sure you press the slow button before the button leaves the stage though hehe.
