# Easing frame rate?

**URL:** <https://forum.kirupa.com/t/easing-frame-rate/185775>\
**Category:** Uncategorized\
**Created:** [April 16, 2006, 11:56am UTC](https://forum.kirupa.com/t/easing-frame-rate/185775 "2006-04-16T11:56:45Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![bootiteq](https://avatars.discourse-cdn.com/v4/letter/b/eb9ed0/32.png) [@bootiteq](https://forum.kirupa.com/u/bootiteq)\
**Post date:** [April 16, 2006, 11:56am UTC](https://forum.kirupa.com/t/easing-frame-rate/185775/1 "2006-04-16T11:56:45Z")

</div>

hi there,  
i want to be able to ease the frame rate of a movie and am not sure how to go about it.

thought about using setInterval() but am unsure how i would code it.

heres what i have currently…  
on each frame (60 in total)

```auto

stop();
frame = 1;

```

each frame has a label eg: f1,f2,f3,f4,f5…f58,f59,f60

then on a mc button i have this code

```auto

onClipEvent (load) {
    this.onRollOver = function() {
        this.onEnterFrame = function() {
            _parent.frame == 1 ? _parent.frame=61 : '';
            _parent.frame -= 1;
            trace(_parent.frame);
            num = _parent.frame;
            _parent.gotoAndStop("f"+_parent.frame);
        };
    };
    this.onRollOut = function() {
        delete this.onEnterFrame;
    };
    this.onDragOut = function() {
        delete this.onEnterFrame;
    };
}

```

anyone got an idea?

---

<div class="post-metadata">

**Author:** ![nathan99](https://avatars.discourse-cdn.com/v4/letter/n/96bed5/32.png) [@nathan99](https://forum.kirupa.com/u/nathan99)\
**Post date:** [April 16, 2006, 12:06pm UTC](https://forum.kirupa.com/t/easing-frame-rate/185775/2 "2006-04-16T12:06:58Z")

</div>

not exactly sure what youre asking  
but  
i think wha youre asking is… care to elaborate?

---

<div class="post-metadata">

**Author:** ![bootiteq](https://avatars.discourse-cdn.com/v4/letter/b/eb9ed0/32.png) [@bootiteq](https://forum.kirupa.com/u/bootiteq)\
**Post date:** [April 16, 2006, 12:29pm UTC](https://forum.kirupa.com/t/easing-frame-rate/185775/3 "2006-04-16T12:29:39Z")

</div>

hi there,  
i want to be able to ease the frame rate of a movie and am not sure how to go about it.

thought about using setInterval() but am unsure how i would code it.

heres what i have currently…  
on each frame (60 in total)

```auto

stop();
frame = 1;

```

each frame has a label eg: f1,f2,f3,f4,f5…f58,f59,f60

then on a mc button i have this code

```auto

onClipEvent (load) {
    this.onRollOver = function() {
        this.onEnterFrame = function() {
            _parent.frame == 1 ? _parent.frame=61 : '';
            _parent.frame -= 1;
            trace(_parent.frame);
            num = _parent.frame;
            _parent.gotoAndStop("f"+_parent.frame);
        };
    };
    this.onRollOut = function() {
        delete this.onEnterFrame;
    };
    this.onDragOut = function() {
        delete this.onEnterFrame;
    };
}

```

anyone got an idea?

---

<div class="post-metadata">

**Author:** ![nathan99](https://avatars.discourse-cdn.com/v4/letter/n/96bed5/32.png) [@nathan99](https://forum.kirupa.com/u/nathan99)\
**Post date:** [April 16, 2006, 1:06pm UTC](https://forum.kirupa.com/t/easing-frame-rate/185775/4 "2006-04-16T13:06:23Z")

</div>

:look: other post

---

<div class="post-metadata">

**Author:** ![bootiteq](https://avatars.discourse-cdn.com/v4/letter/b/eb9ed0/32.png) [@bootiteq](https://forum.kirupa.com/u/bootiteq)\
**Post date:** [April 16, 2006, 1:43pm UTC](https://forum.kirupa.com/t/easing-frame-rate/185775/5 "2006-04-16T13:43:47Z")

</div>

what?

---

<div class="post-metadata">

**Author:** ![nathan99](https://avatars.discourse-cdn.com/v4/letter/n/96bed5/32.png) [@nathan99](https://forum.kirupa.com/u/nathan99)\
**Post date:** [April 16, 2006, 1:49pm UTC](https://forum.kirupa.com/t/easing-frame-rate/185775/6 "2006-04-16T13:49:33Z")

</div>

> **[kirupaForum](https://www.kirupa.com/forum/showthread.php?t=216086)**
>
> Got a web design/development question or just want to hang out with the most awesome people on the planet? Drop on in!

---

<div class="post-metadata">

**Author:** ![rhamej](https://avatars.discourse-cdn.com/v4/letter/r/bb73d2/32.png) [@rhamej](https://forum.kirupa.com/u/rhamej)\
**Post date:** [April 16, 2006, 5:00pm UTC](https://forum.kirupa.com/t/easing-frame-rate/185775/7 "2006-04-16T17:00:51Z")

</div>

Threads merged, please dont cross post 😉

---

<div class="post-metadata">

**Author:** ![TheCanadian](https://avatars.discourse-cdn.com/v4/letter/t/67e7ee/32.png) [@TheCanadian](https://forum.kirupa.com/u/TheCanadian)\
**Post date:** [April 16, 2006, 7:31pm UTC](https://forum.kirupa.com/t/easing-frame-rate/185775/8 "2006-04-16T19:31:02Z")

</div>

:p:

---

<div class="post-metadata">

**Author:** ![bootiteq](https://avatars.discourse-cdn.com/v4/letter/b/eb9ed0/32.png) [@bootiteq](https://forum.kirupa.com/u/bootiteq)\
**Post date:** [April 17, 2006, 1:11am UTC](https://forum.kirupa.com/t/easing-frame-rate/185775/9 "2006-04-17T01:11:45Z")

</div>

that was a dead link i think nathan. i got this message “No Thread specified. If you followed a valid link, please notify the administrator”

sorry rhamej not sure how i managed to post in here twice :puzzled:

any chance of a mx or mx2004 version TC?

---

<div class="post-metadata">

**Author:** ![TheCanadian](https://avatars.discourse-cdn.com/v4/letter/t/67e7ee/32.png) [@TheCanadian](https://forum.kirupa.com/u/TheCanadian)\
**Post date:** [April 17, 2006, 5:41am UTC](https://forum.kirupa.com/t/easing-frame-rate/185775/10 "2006-04-17T05:41:10Z")

</div>

There’s a huge chance, although I’m not sure if it’s what you want so if it’s not just say so and I’ll redo it 🙂

---

<div class="post-metadata">

**Author:** ![bootiteq](https://avatars.discourse-cdn.com/v4/letter/b/eb9ed0/32.png) [@bootiteq](https://forum.kirupa.com/u/bootiteq)\
**Post date:** [April 17, 2006, 2:40pm UTC](https://forum.kirupa.com/t/easing-frame-rate/185775/11 "2006-04-17T14:40:59Z")

</div>

Could be…  
but sadly ‘onMotionChanged’ didnt work with mx2004.

Was having issues trying to upload last night but it seems to be working fine today… so aaaahhh

here is a test which im hoping to ease  
[http://www.geocities.com/bootiteq/framesnoease2.swf](http://www.geocities.com/bootiteq/framesnoease2.swf) (4kb)

here is the source  
[http://www.geocities.com/bootiteq/framesnoease2.swf](http://www.geocities.com/bootiteq/framesnoease2.swf) (74kb)

i am hoping to get some easing happening when you rollOut of the buttons.  
eg: 20 fps down to 0 fps. I dont care at this stage if its linear easing.

it will be for a sequence of images which are more or less like a looping animation.
