# Player rendering speed truble

**URL:** <https://forum.kirupa.com/t/player-rendering-speed-truble/186185>\
**Category:** Uncategorized\
**Created:** [April 19, 2006, 4:39pm UTC](https://forum.kirupa.com/t/player-rendering-speed-truble/186185 "2006-04-19T16:39:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lordkiller](https://avatars.discourse-cdn.com/v4/letter/l/9fc29f/32.png) [@lordkiller](https://forum.kirupa.com/u/lordkiller)\
**Post date:** [April 19, 2006, 4:39pm UTC](https://forum.kirupa.com/t/player-rendering-speed-truble/186185/1 "2006-04-19T16:39:46Z")

</div>

Falsh MX2004 with AS1 + prototypes

I have 300 pages in a think like a PowerPoint presentation so full pages(1000x590) one after the other.

Pages change with onEnterFrame but at the end of the movement this.onEnterFrame = null 🙂 so not count to much, nothing is loading continously…checked :)) many times.

After I create the pages the whole thing is start moving realy slow ☹  
At a 12 frames/second settings there arent more than 2-3 frames/sec  
same thing if the framerate is on 20.

The pages background is created with beginFill.

Questions: is there a difference if I create my pages gradualy so 1-10 pages/onEnterFrame call, or all in same time with a for loop ?

Wich is rendering faster in the palyer: the MC created with beginFill, or is better to attach a background from the library?

[check](http://www.mihaelaandreea.lx.ro/)

click on the right-down corner

The function that move the page is (so nothing special):

```auto
this.onEnterFrame = function(){					
   this._xscale -= 10;
   this._yscale -= 10;					
   if(this._xscale<=0){
	// put back the page...
	this._visible = false;
	this._xscale = 100;
	this._yscale = 100; _root.thisCurentPageNum++;
            showCorners()	
            updatePageNumTextfield()			
            this.onEnterFrame = null				
   }
}

```
