BeInteractive!

// I was amazed that Colin was good at Japanese. I think I should be more good at English. So, I try to write this entry in English. I'm sorry if I wrote strange English. At that time, please tell me.

(This nice photo was taken by id:takesako)

Today, I took part in the event called "Japanese ASer intercepts Colin". In this event, some Japanese TOP ActionScripters introduced ActionScript of Japan to Colin. I was one of speakers.

I talked about the Spark project that is the Japanese OpenSource ActionScript Community and my libraries that committed to it in the Main talk. Here is slide (pdf):

I talked the following five projects.

ASReflect

ASReflect is a library to Java-like reflection. It wrapped flash.utils.describeType and enables to use Type, Property, Method classes.

ASReflect was committed to asreflect.libspark.org. SVN repository is here.

AS3Unit

AS3Unit is a unit testing framework. One of the big features of AS3Unit is that it was ported from JUnit4. I realized the Annotation by using the Namespace.

AS3Unit was committed to as3unit.libspark.org. SVN repository is here.

AS2DisplayObject

AS2DisplayObject is a library to use the DisplayObject tree in ActionScript2. It enables to write the scripts of MovieClip management like ActionScript3.

AS2DisplayObject was committed to here (Sorry, I am not maintaining it for a long time.). Please checkout the spark.display package, the spark.events package, and the spark.core package. And write Application.setRoot(_root); Application.run(new YourCustomSprite()); at first.

E3Engine

E3Engine is a ECMAScript(3rd) engine for ActionScript2. You can execute the scripts dynamically like eval(). This engine is very fast and strict because it carry compiler and virtual machine. Not interpreter.

Demo is here. You can access and control MovieClip from script by using name '_root.be_mc'.

E3Engine was committed to here. Following code is how to run E3Engine. For reference, please read this entry and this entry.

// scripts
var code:String = [
"for (var i = 0; i < 3; ++i) {",
"  trace('Hello');",
"}"
].join("\n");

// Compile
var parser:IParser  = new Parser(new Scanner(code));
var vm:VirtualMachine = new VirtualMachine();
vm.setByteCode(parser.parse());

// Export the trace function to VirtualMachine
vm.getGlobal().trace = trace;

// Run
vm.execute();

swfassist

swfassist is a library to generate swf binaries dynamically on ActionScript3. If you create instance of SWF class, set headers and tags and call SWFWrite.writeSWF method, you get swf binary to instance of your ByteArray. It's simple.

Demo is here (and code is here). It is AIR application. If you run this application, you can see white screen. The line can be written on the screen by mouse. If you finished writing line, you get demo.swf on the desktop. In the demo.swf, a black square moves along your line. It is dynamically generated animation swf.

swfassist was committed to swfassist.libspark.org. SVN repository is here.

Thread

Thread is a library to write asynchronous processes easily. This library is based on Japanese Task System and Java Thread Model.

Thread was committed to here. SVN repository is here (for AS2) or here (for AS3).

One more thing: Image Recognition + Physics Engine

Demo is here (Please open in AdobeMediaPlayer).

In this demo, I touch physics objects by the hand that filmed from web camera. This is created by Box2DFlashAS3 and BitmapData operation.


I'm glad to see Colin. I'm looking forward to seeing next time!

この記事へのトラックバック

粤?碼 闊鱚韵褂 關鉐鱶鴦鳧
<a href="http://www.elitnie-devki.ru/foto-russkih-blyadey.html">粤?碼 闊鱚韵褂 關鉐鱶鴦鳧?/a>
闍琿 髓鞐?碆 瘰鉅辮
<a href="http://www.kasko-2010-new.ru/kasko-tambov.html">闍琿 髓鞐?碆 瘰鉅辮</a>
鱚?髑褂 ?諢繻 褌跫?鱚韲 驫瑾瑩
<a href="http://www.poker-po-texas.ru/post-1279-eei.html">鱚?髑褂 ?諢繻 褌跫?鱚韲 驫瑾瑩?/a>
" "
<a href="http://www.kasko-2009-ok.ru/raschet-stoimosti-osago-kalkulyator.html"> </a>
闔齏 鴈 縺謌 苣繼 聽逋蓁
<a href="http://www.telki-metelki-2009.ru/seks-dog.html">闔齏 鴈 縺謌 苣繼 聽逋蓁</a>
?? ?韲驪珥?
<a href="http://www.prostitutki-centr-2009.ru/chastnye-shluhi.html">?? ?韲驪珥?</a>
" "
<a href="http://www.natyazhniepotolki.ru/chistye-pomescheniya-potolok.html"> </a>

TrackBack URL:

http://www.be-interactive.org/trackback.php?id=325

この記事へのコメント

コメントはありません。

コメント書き込み:

カテゴリ

タグ

アーカイブ