Test the frame rate on my under-construction site

http://home.graffiti.net/glidias/

Test the website’s engine above. (under contruction) What’s your average framerate?

The rain and lighning wasn’t intended to be that heavy (way too cliche). But i decided to go overboard to test it.

I need help with putting the leaves on the tree. What it does is that once the branch reaches a level from which leaves should grow, it calls the checkLeaves function which calls the addNode function at the Boss Tree Trunk, and feeds in it’s global coordinates of the current branch’s position. The Boss Tree Trunk draws the leaves onto a single bitmap/bitmapdata image. Unfortunately, i can’t get the global coordinates of the current branch. Is it due to the recursiveness nature of sprite generation that makes it impossible to trace accruate coordinates?


        public function checkLeaves() {
            if (_lvl>=_theBoss.maxlevel) {
                graphics.beginFill(0xff0000,100);
                graphics.drawCircle(0,0,1); // visual dot nodes appears where it should be
                // Add leaf node and exit
                var pt:Point=this.localToGlobal( new Point(0,0) );
                _theBoss.addLeafNode( new YNode(pt.x, pt.y, this.rotation));
                trace(pt); // this returns a point that is close to or equal to (0,0) !
                trace(root); // this returns null, do we need root access for localToGlobal to work? 
                return;
            }