forked from: forked from: forked from: forked from: forked from: StarWarsEditor
// forked from hacker_oksfhqz3's forked from: forked from: forked from: StarWarsEditor
// forked from Maoster's forked from: forked from: StarWarsEditor
// forked from hacker_3szp8277's forked from: StarWarsEditor
// forked from h_sakurai's StarWarsEditor
package {
import flash.display.*;
import flash.events.*;
import flash.text.*;
[SWF(backgroundColor="0x202020", frameRate="30")]
public class StarWars extends Sprite {
private var logo:g = new g();
public function StarWars () {
logo.x = 200;
logo.y = 15;
logo.z = 300;
addChild(logo);
logo.rotationX = -65;
this.graphics.beginFill(0xffffff);
// for(var i:int = 0; i < 100; i++) {
// this.graphics.drawCircle(Math.random()*500,Math.random()*500,Math.random()+0.2);
// }
this.graphics.endFill();
}
}
}
import flash.display.*;
import flash.text.*;
import flash.events.Event;
class g extends Sprite{
public var tf1:TextField = new TextField();
public var text_format:TextFormat=new TextFormat("Arial",57,0x00CC00,true,null,null,null,null,TextFormatAlign.CENTER);
private var cnt:int;
public function g(){
tf1.text = "ASTC 2011\n\n2012\n\n2013\n\n2014\n\n2015\n\n2016\n\n2017\n\n2018\n\n2019\n\n2020";
tf1.width = 350; //表示テã‚Âスト横幅
tf1.height = 1000; //表示テã‚Âスト縦幅
tf1.x = -150; //表示テã‚Âスト横ä½Âç½®
tf1.y = 800; //表示テã‚Âスト縦ä½Âç½®
tf1.wordWrap= true
//tf1.type = "input";
tf1.multiline = true;
tf1.textColor = 0xffff00;
tf1.autoSize=TextFieldAutoSize.LEFT;
tf1.setTextFormat(text_format);
addChild(tf1); //追åŠÂ
this.addEventListener(Event.ENTER_FRAME, watch);
}
private function watch(e:Event ):void{
tf1.y -=1;
}
}