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: StarWarsEditor

完全オートスクロール
Get Adobe Flash player
by hacker_3szp8277 20 Dec 2008
// 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 = -150;
			logo.z = 500;
			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();
	private var cnt:int;
	public function g(){
		var str:String = "";
		for(var i:int = 0; i < 100;i++)
			str += "\n";
		tf1.text = str + "          STAR WARS\n          EDITOR\n\n           EPISODE II" + str;
		tf1.width = 100; //表示テキスト横幅
		tf1.height = 1000;   //表示テキスト縦幅
		tf1.x = -100;         //表示テキスト横位置
		tf1.y = -10;         //表示テキスト縦位置
        tf1.wordWrap= true
		tf1.type = "input";//
		tf1.multiline = true;
		tf1.textColor = 0xffff00;
		addChild(tf1);      //追加
		this.addEventListener(Event.ENTER_FRAME, watch);
	}
	
	private function watch(e:Event ):void{
		cnt++;
		if(cnt>60){
			cnt=0;
			tf1.y -=19;
		}

	}
}