In case Flash no longer exists; a copy of this site is included in the Flashpoint archive's "ultimate" collection.

Dead Code Preservation :: Archived AS3 works from wonderfl.net

forked from: forked from: forked from: forked from: forked from: StarWarsEditor

Get Adobe Flash player
by hacker_ub5880dp 24 Mar 2011
    Embed
// 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;
    }
}