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?
click on the right-down corner
The function that move the page is (so nothing special):
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
}
}