flash on 2009-9-21

by hankuro
...
@author ...
♥0 | Line 24 | Modified 2009-09-21 11:44:30 | MIT License
play

ActionScript3 source code

/**
 * Copyright hankuro ( http://wonderfl.net/user/hankuro )
 * MIT License ( http://www.opensource.org/licenses/mit-license.php )
 * Downloaded from: http://wonderfl.net/c/losL
 */

package 
{
	import flash.display.Sprite;
	import org.libspark.thread.Thread
        import org.libspark.thread.EnterFrameThreadExecutor;
	import flash.events.Event;
	

	/**
	 * ...
	 * @author ...
	 */
	public class Main extends Sprite 
	{
		
		public function Main():void 
		{
			Thread.initialize(new EnterFrameThreadExecutor());
			var t:MyThread = new MyThread();
			t.start();
		}
		
	}
	
}
	import org.libspark.thread.Thread;

	/**
	 * ...
	 * @author ...
	 */
	class MyThread extends Thread
	{
		override protected function run():void
		{
			trace('Hello');
		}
	}