flash on 2009-9-21
...
@author ...
♥0 |
Line 24 |
Modified 2009-09-21 11:44:30 |
MIT License
archived:2017-03-20 12:34:30
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');
}
}