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: 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="0x333333", frameRate="30")]
    public class StarWars  extends Sprite {
		private var logo:g = new g();
		public function StarWars () {
			logo.x = 280;
			logo.y = 300;
			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",42,0xE3EF7D,true,null,null,null,null,TextFormatAlign.JUSTIFY);
	private var cnt:int;
	public function g(){
		tf1.text = "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam eu lorem massa. Sed at adipiscing urna. Maecenas fermentum, tortor bibendum sollicitudin posuere, felis elit laoreet est, in condimentum augue eros sit amet velit.";
		tf1.width = 500; //表示テキスト横幅
		tf1.height = 1000;   //表示テキスト縦幅
		tf1.x = -300;         //表示テキスト横位置
		tf1.y = 350;         //表示テキスト縦位置
		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;
	}
}