class ball extends MovieClip{
    private var radius:Number;
    private var speed:Number;
    function ball(r:Number) {
        r = radius;
    }
    function action() {
        if (ball._x<500) {
            speed = ball._x++;
        }
    }
}
它给出的错误是:
**错误**  第 8 行: 引用的属性没有该静态特性。
             if (ball._x<500) {
**错误**  第 9 行: 引用的属性没有该静态特性。
                 speed = ball._x++;
**错误**  第 8 行: 引用的属性没有该静态特性。
             if (ball._x<500) {
**错误**  第 9 行: 引用的属性没有该静态特性。
                 speed = ball._x++;
动作脚本错误总数:4      报错:4
哥子些,是怎么回事啊 
