# Dynamic frame rates for scrolling text

**URL:** https://forum.kirupa.com/t/dynamic-frame-rates-for-scrolling-text/311212
**Category:** flash
**Created:** [June 30, 2010, 9:43am UTC](https://forum.kirupa.com/t/dynamic-frame-rates-for-scrolling-text/311212 "2010-06-30T09:43:17Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Hoodlum](https://avatars.discourse-cdn.com/v4/letter/h/e56c9b/32.png) [@Hoodlum](https://forum.kirupa.com/u/Hoodlum)
#### Post date: [June 30, 2010, 9:43am UTC](https://forum.kirupa.com/t/dynamic-frame-rates-for-scrolling-text/311212/1 "2010-06-30T09:43:17Z")

</div>

I am tweening text slowly like a marquee style, and I cant seem to get it smooth (it’s stuttering and jerky). I am embedding the font, converting it to a bitmap, turning smoothing on, then using GTween for tweening it.

If I use a very high frame rate I can see it gets smoother (I am using 24fps) but it should already be better than it is at 24. However, I would like to apply a higher framerate to this movieclip, how do I do that with AS3?

I found this method, but updateAfterEvent() is outdated (only for onMouseMove, etc…) :

[INDENT]function timelineFaster() {  
nextFrame();  
updateAfterEvent();  
}  
var tweenFaster:Number = setInterval(timelineFaster, 1);

[/INDENT]In general I would like to learn more dynamic control of individual movieclips, this could be a powerful weapon to have 🙂 Whats the best technique? (prefer in scripting…)
