For score format, the code is correct, but the score format code has to be before the score text code because if you are defining a default text format, you need to define it before drawing the text. ALSO, in order to define scoreText's text format, you have to create it first, so replace this line: static var scoreText:TextField; with this:static var scoreText:TextField=new TextField(); in your variables spot. Take that Cantor.
Level 7 is possible and can be done easily. While playing around the shapes on level 8 for about 10 seconds, I found out that you can just draw a line under the red ball (or square) and it will force the shape to rise. Once you get the square to rise on level 7, place a pin on the right and attach a platform to it. Then use falling shapes to push the square to the flag.
another way to cheat is to move your mouse to the bottom left corner, move your mouse left really fast to skip over the line, move your mouse to the left of the finish button making sure that the mouse is still outside of the box, then move your mouse right really fast, then click finish