# Stopping all script Actionscript calculations

**URL:** <https://forum.kirupa.com/t/stopping-all-script-actionscript-calculations/138624>\
**Category:** Uncategorized\
**Created:** [February 24, 2005, 12:47am UTC](https://forum.kirupa.com/t/stopping-all-script-actionscript-calculations/138624 "2005-02-24T00:47:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![agent\_scarlet](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@agent\_scarlet](https://forum.kirupa.com/u/agent_scarlet)\
**Post date:** [February 24, 2005, 12:47am UTC](https://forum.kirupa.com/t/stopping-all-script-actionscript-calculations/138624/1 "2005-02-24T00:47:17Z")

</div>

I have a flash file with actionscipt easing on movement, scale and alpha on several MC’s my problem is they cause the CPU usage in the task manager to be at a constant 100% when the movie is running, I know the problem is that its constantly calculating the easing. Any suggestions?

[http://www.geocities.com/invisible5uk/bigart.fla](http://www.geocities.com/invisible5uk/bigart.fla)

Below is my current easing script for both alpha and scale.

onClipEvent (enterFrame){  
\_alpha = \_alpha+(100-\_alpha)_.09  
\_yscale = \_yscale+(100-\_yscale)_.09  
\_xscale = \_xscale+(100-\_xscale)\*.09  
stop();

}
