package {
import flash.display.Sprite;
import flash.events.Event;
import flash.geom.Point;
import flash.display.MovieClip;
public class ftm extends MovieClip {
var i:int;
x=i*50;
y=i*50;
}
}
尝试这样修改:
package {
import flash.display.Sprite;
import flash.events.Event;
import flash.geom.Point;
import flash.display.MovieClip;
public class ftm extends MovieClip {
private var i:int;
public function ftm():void
{
this. x=i*50;
this.y=i*50;
}
}
}