var d = new LzDelegate( timef , "tellTime" ); lz.Idle.callOnIdle( d ); this.bringToFront(); //created nodes doesn't account for nodes created from script, //so it isn't good for apps that make vnnodes from script numnodes.setText( "nodes: " +_root.canvas.creatednodes ); //if that's the case, I add a line like this to the node constructor //constructor //_root.mvncnt++; //and uncomment this line //numnodes.setText( "nodes: " +_root.mvncnt ); this.setText( "Time taken: " + t );