# This code makes Flash Player run slowly, why?

**URL:** <https://forum.kirupa.com/t/this-code-makes-flash-player-run-slowly-why/154217>\
**Category:** flash\
**Created:** [July 7, 2005, 8:37pm UTC](https://forum.kirupa.com/t/this-code-makes-flash-player-run-slowly-why/154217 "2005-07-07T20:37:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lariat1997](https://avatars.discourse-cdn.com/v4/letter/l/df705f/32.png) [@lariat1997](https://forum.kirupa.com/u/lariat1997)\
**Post date:** [July 7, 2005, 8:37pm UTC](https://forum.kirupa.com/t/this-code-makes-flash-player-run-slowly-why/154217/1 "2005-07-07T20:37:57Z")

</div>

[color=black]Hey All,[/color]  
[color=black][/color]  
[color=black]I am trying to get my mc to move up and have copies of that same mc follow about every 40 pixels. Basically a scroll with my “8ball” mc. Showing the mc every 30 pixels in the y-direction. [/color]  
[color=black][/color]  
[color=black]I am using this code in the mc and I get a message saying that the script is causing Flash Player to run slowly. And that my computer may be unresponsive. Then it asks if I want to abort.[/color]  
[color=black][/color]  
[color=black]Any suggestions?[/color]  
[color=black]Thanks.[/color]  
[color=blue][/color]  
[color=blue][/color]  
[color=blue]onClipEvent(enterFrame) {  
speed = -1;  
this.\_y += speed;  
}[/color]  
[color=blue]onClipEvent (load){  
for (i=0;i\<10;i++) {  
this.duplicateMovieClip(“ball”+i, i);  
i++;  
} [/color]
