test ?: operator
package {
import flash.display.Sprite;
import flash.text.TextField;
public class FlashTest extends Sprite {
public function FlashTest() {
// write as3 code here..
graphics.beginFill(0);
true? graphics.drawCircle(30, 30, 25): public;
false? public: graphics.drawCircle(100, 30, 25);
true? graphics.drawCircle(30, 100, 25): void;
//false? void: graphics.drawCircle(30, 100, 25);
//↑おこられた
//true? null: private;
//true? null: package;
//true? null: extends;
//true? null: import;
//true? null: function;
//true? null: implements;
//↑全部おこられた
}
}
}