<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>JActionScripters &#187; Yoshihiro Shindo</title>
	<atom:link href="http://blog.jactionscripters.com/author/beinteractive/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.jactionscripters.com</link>
	<description>More than 20 Japanese flash coders share the blog/ You will be junkie for this crazy Japanese Flash news</description>
	<lastBuildDate>Sun, 20 Jun 2010 10:03:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>NTT DoCoMo SH-07B Standby Widgets</title>
		<link>http://blog.jactionscripters.com/2010/05/18/ntt-docomo-sh-07b-standby-widgets/</link>
		<comments>http://blog.jactionscripters.com/2010/05/18/ntt-docomo-sh-07b-standby-widgets/#comments</comments>
		<pubDate>Tue, 18 May 2010 08:21:05 +0000</pubDate>
		<dc:creator>Yoshihiro Shindo</dc:creator>
				<category><![CDATA[Announcement]]></category>
		<category><![CDATA[Showcase]]></category>

		<guid isPermaLink="false">http://blog.jactionscripters.com/?p=1284</guid>
		<description><![CDATA[Today, the NTT DoCoMo has released some new products and services for this summer. One of them, &#8220;SH-07B&#8221; which is released from SHARP Corporation, has new function called &#8220;Standby Widgets&#8221; that was implemented by Yoshihiro Shindo (BeInteractive!, it&#8217;s me) and Yusuke Nakahara who belongs to the CD-IM. It was directed by Naoki Mima who belongs [...]]]></description>
			<content:encoded><![CDATA[<p>Today, the NTT DoCoMo has released some new products and services for this summer. One of them, &#8220;<a href="http://www.sharp.co.jp/products/sh07b/">SH-07B</a>&#8221; which is released from SHARP Corporation, has new function called &#8220;Standby Widgets&#8221; that was implemented by Yoshihiro Shindo (<a href="http://www.be-interactive.org/">BeInteractive!</a>, it&#8217;s me) and Yusuke Nakahara who belongs to the <a href="http://www.cd-im.jp/">CD-IM</a>. It was directed by Naoki Mima who belongs to the <a href="http://www.rightning.com/">Rightninc, Inc</a>. What I mentioned in my presentation at the FITC Toronto 2010 is about this.</p>
<p>&#8220;Standby Widgets&#8221; is a function that enables you to customize your standby screen. You can add, remove, or lay out built-in widgets as you like. There are some built-in widgets like bookmarks, calendar, and manner mode switch. Also you can change widget&#8217;s color to your favorite color. For phone and mail, it has a list that you can access recent calls or mails easily.</p>
<p><p>In all honesty, it&#8217;s not an amazing new function. However, a point is why the team has invited me. Can you make sense? Yes, it&#8217;s written by Flash (FlashLite). A special customized FlashLite engine has been provided by the device team, and all of &#8220;Standby Widgets&#8221; is running on it. This is our first answer of a question &#8220;Can we make better UI if we could use Flash?&#8221;.</p>
<p>Many Japanese mobile phone is high-spec actually, but its UI ruins the value of it, I think. In my view, this project is to improve it. Also I feel this project provides fun future to not only users of device but also Flash developers in the world.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jactionscripters.com/2010/05/18/ntt-docomo-sh-07b-standby-widgets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BetweenAS3 Alpha r3022 now available</title>
		<link>http://blog.jactionscripters.com/2009/08/13/betweenas3-alpha-r3022-now-available/</link>
		<comments>http://blog.jactionscripters.com/2009/08/13/betweenas3-alpha-r3022-now-available/#comments</comments>
		<pubDate>Thu, 13 Aug 2009 10:31:46 +0000</pubDate>
		<dc:creator>Yoshihiro Shindo</dc:creator>
				<category><![CDATA[Announcement]]></category>
		<category><![CDATA[Library]]></category>
		<category><![CDATA[Spark]]></category>

		<guid isPermaLink="false">http://blog.jactionscripters.com/?p=858</guid>
		<description><![CDATA[BetweenAS3, fast, powerful and professional new tweening engine I&#8217;m developing (please see this page or this page), is still under development&#8230; But today, I announce &#8220;Alpha r3022&#8243; version for early betweeners!  
I don&#8217;t give assurance about quality, but many main features may works well. Please test and send feedback (bug report, request, etc) to [...]]]></description>
			<content:encoded><![CDATA[<p>BetweenAS3, fast, powerful and professional new tweening engine I&#8217;m developing (please see <a href="http://www.be-interactive.org/en.php?itemid=468">this page</a> or <a href="http://www.be-interactive.org/en.php?itemid=473">this page</a>), is still under development&#8230; But today, I announce &#8220;Alpha r3022&#8243; version for early betweeners! <img src='http://blog.jactionscripters.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I don&#8217;t give assurance about quality, but many main features may works well. Please test and send feedback (bug report, request, etc) to me.</p>
<p>You can checkout BetweenAS3 Alpha r3022 via SVN from:</p>
<ul>
<li><a href="http://www.libspark.org/svn/as3/BetweenAS3/tags/alpha-r3022/">http://www.libspark.org/svn/as3/BetweenAS3/tags/alpha-r3022/</a></li>
</ul>
<p>or download as ZIP or SWC from:</p>
<ul>
<li><a href="http://www.libspark.org/svn/as3/BetweenAS3/tags/alpha-r3022/release/">http://www.libspark.org/svn/as3/BetweenAS3/tags/alpha-r3022/release/</a></li>
</ul>
<p>Did you find text &#8220;fp9&#8243; in filename? There is good news. FlashPlayer9 version also available!!</p>
<p>Yesterday, version of BetweenAS3 in <a href="http://wonderfl.net/">Wonderfl</a> is r2505, but today, it was updated to r3022. You can enjoy new version in Wonderfl!! You can find BetweenAS3 samples in <a href="http://wonderfl.net/tag/BetweenAS3Tutorial">this &#8220;BetweenAS3Tutorial&#8221; tag page</a>.</p>
<p>Changes from r2505 to r3022 is the following:</p>
<pre> * [r3021] Created FlashPlayer9 version based on r3019.
 * [r3018] Fix: Error occurred when stopping or playing tween in event handlers.
 * [r3017] Added property for frame tween (_frame) and utility for convert frames and time (TimeUtil).
 * [r3016] Added ITween.togglePause
 * [r3009] [r3010] Supported physical tween. (BetweenAS3.physical)
 * [r3007] Added shortcuts for BetweenAS3.tween and BetweenAS3.bezier
  * BetweenAS3.to
  * BetweenAS3.from
  * BetweenAS3.bezierTo
  * BetweenAS3.bezierFrom
 * [r3005] Fix: Function specified in BetweenAS3.func will be called many times.
 * [r2998] Supported bezier tween. (BetweenAS3.bezier)
 * [r2996] Supported parallel and serial by passing Array parameter. (BetweenAS3.parallelTweens, BetweenAS3.serialTweens)
 * Changed internal architecture and package.
  * Supported inheriting event handlers when processing tweens by this change.
  * [r2994] Created IUpdater interface.
  * [r2694] Renamed BetweenEvent class to TweenEvent.
  * [r2692] Moved ITicker interface and TickerListener class to Core package.
  * [r2688] Created Core package.
  * [r2688] Removed ITweenTarget interface, integrated it to ITween interface and created IObjectTween interface.
  * [r2688] Created ITweenContainer (now ITweenGroup) interface.
 * [r2618] Moved a delay setting to the BetweenAS3.delay method for more flexibility.
 * [r2617] Changed the timing of calculating tween parameters to the first time of start playing the tween.
    Now sequence of tween using related value works fine.
     BetweenAS3.serial(
       BetweenAS3.tween(mc, {$x: 100}),
       BetweenAS3.tween(mc, {$x: 100})
     );
 * [r2600] Fix: Sometimes ReferenceError has occured while creating a tween.</pre>
<p>Here is FAQ:</p>
<pre> Q. How to do filter tween?
 A. Do the following:

     BetweenAS3.tween{mc, {_glowFilter: {blurX: 32, blurY: 32}}).play();

    The following properties for filter are supported.

     * _bevelFilter
     * _blurFilter
     * _colorMatrixFilter
     * _convolutionFilter
     * _displacementMapFilter
     * _dropShadowFilter
     * _glowFilter
     * _gradientBevelFilter
     * _gradientGlowFilter
     * _shaderFilter

 Q. How to do ColorTransform tween?
 A. Do the following:

     BetweenAS3.tween(mc, {transfrom: {colorTransfrom: {redOffset: 255}}}).play();

 Q. How to do SoundTransform tween?
 A. Do the following:

     BetweenAS3.tween(sc, {soundTransform: {volume: 0.0}}).play();

 Q. How to set delay?
 A. By using BetweenAS3.delay, add delay to tween.

     BetweenAS3.delay(BetweenAS3.tween(mc, {x: 100}), 1.0).play(); // Delay 1.0 sec

 Q. How to do bezier tween?
 A. Do the following. Pass control points in argument 4. Set Array of control points for each property.

     BetweenAS3.bezier(mc, {x: 385, y: 207}, null, {x: [58.05, 145.9, 246.7, 345.55], y: [61.4, 80.65, 167.05, 209.3]}).play();
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.jactionscripters.com/2009/08/13/betweenas3-alpha-r3022-now-available/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>English front page of the Spark project is now updated!</title>
		<link>http://blog.jactionscripters.com/2009/07/02/english-front-page-of-the-spark-project-is-now-updated/</link>
		<comments>http://blog.jactionscripters.com/2009/07/02/english-front-page-of-the-spark-project-is-now-updated/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 06:33:23 +0000</pubDate>
		<dc:creator>Yoshihiro Shindo</dc:creator>
				<category><![CDATA[Announcement]]></category>
		<category><![CDATA[Spark]]></category>

		<guid isPermaLink="false">http://blog.jactionscripters.com/?p=772</guid>
		<description><![CDATA[It was difficult to find cool new Spark project stuffs becuase English front page (Project list) no longer maintained&#8230;  
But now you can find some new stuffs because we updated the English front page today! It&#8217;s based on latest Japanese front page. Enjoy!  
]]></description>
			<content:encoded><![CDATA[<p>It was difficult to find cool new Spark project stuffs becuase <a href="http://www.libspark.org/wiki/WikiStart/en">English front page (Project list)</a> no longer maintained&#8230; <img src='http://blog.jactionscripters.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>But now you can find some new stuffs because we updated the English front page today! It&#8217;s based on <a href="http://www.libspark.org/">latest Japanese front page</a>. Enjoy! <img src='http://blog.jactionscripters.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jactionscripters.com/2009/07/02/english-front-page-of-the-spark-project-is-now-updated/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>ARMessageCard (ARSandPainting)</title>
		<link>http://blog.jactionscripters.com/2009/06/02/armessagecard-arsandpainting/</link>
		<comments>http://blog.jactionscripters.com/2009/06/02/armessagecard-arsandpainting/#comments</comments>
		<pubDate>Tue, 02 Jun 2009 07:06:01 +0000</pubDate>
		<dc:creator>Yoshihiro Shindo</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Experiment]]></category>
		<category><![CDATA[Showcase]]></category>

		<guid isPermaLink="false">http://blog.jactionscripters.com/?p=730</guid>
		<description><![CDATA[
In the Spark meeting #09, I presented an ARMessageCard for Geoff. At first, a card on the marker seems to be white, but a message will be rose by particles moves if you tilt the card. It works like a sand painting.

ARMessageCard from Yoshihiro Shindo on Vimeo.
You can try it at here (Please use this [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.jactionscripters.com/wp-content/uploads/2009/05/armessagecard.png" alt="ARMessageCard" title="ARMessageCard" width="640" height="360" class="alignnone size-full wp-image-706" /></p>
<p>In <a href="http://blog.jactionscripters.com/2009/05/29/monthly-spark-meeting-09/">the Spark meeting #09</a>, I presented an ARMessageCard for Geoff. At first, a card on the marker seems to be white, but a message will be rose by particles moves if you tilt the card. It works like a sand painting.</p>
<p><object width="400" height="300"><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="movie" value="http://vimeo.com/moogaloop.swf?clip_id=4901020&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" /><embed src="http://vimeo.com/moogaloop.swf?clip_id=4901020&amp;server=vimeo.com&amp;show_title=1&amp;show_byline=1&amp;show_portrait=0&amp;color=&amp;fullscreen=1" type="application/x-shockwave-flash" allowfullscreen="true" allowscriptaccess="always" width="400" height="300"></embed></object>
<p><a href="http://vimeo.com/4901020">ARMessageCard</a> from <a href="http://vimeo.com/user1825548">Yoshihiro Shindo</a> on <a href="http://vimeo.com">Vimeo</a>.</p>
<p>You can try it at <a href="http://www.be-interactive.org/works/20090528/ARMessageCard/ARMessageCard.swf">here</a> (Please use <a href="http://www.be-interactive.org/works/20090528/ARMessageCard/Data/flarlogo-marker.pdf">this marker</a>). Of course, <a href="http://www.be-interactive.org/works/20090528/ARMessageCard.zip">source code was uploaded</a>.</p>
<p>A point of this Flash is calculating gravity from the inclination of the card to move particles.</p>
<p>If you defined variables like:</p>
<p><code-style>
<pre name="code" class="as3">
private var _mat:Matrix3D = new Matrix3D();
private var _rot:Number3D = Number3D.ZERO;
private var _v:Number3D = new Number3D();
</pre>
<p></code-style></p>
<p>*Matrix3D and Number3D are provided by Papervision3D.</p>
<p>You can get gravity by the following code:</p>
<p><code-style>
<pre name="code" class="as3">
_mat.copy(_baseNode.transform);
_mat.invert();
_rot = Matrix3D.matrix2euler(_mat, _rot);
_v.reset(0, 1, 0);
_v.rotateY(_rot.y);
_v.rotateX(_rot.x);
_v.rotateZ(_rot.z);
var gx:Number = -_v.x * 2.0;
var gy:Number = -_v.y * 2.0;
</pre>
<p></code-style></p>
<p>*_baseNode is provided by FLARToolKit.</p>
<p>First, invert the transform matrix calculated by the FLARToolKit to get a transform matrix of gravity about the marker. Next, apply only rotations from the transform matrix to a normalized vector for gravity. Finally, get x value and y value from it. If you move particles based on these values, it will work fine <img src='http://blog.jactionscripters.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jactionscripters.com/2009/06/02/armessagecard-arsandpainting/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Monthly Spark Meeting #09</title>
		<link>http://blog.jactionscripters.com/2009/05/29/monthly-spark-meeting-09/</link>
		<comments>http://blog.jactionscripters.com/2009/05/29/monthly-spark-meeting-09/#comments</comments>
		<pubDate>Fri, 29 May 2009 11:38:17 +0000</pubDate>
		<dc:creator>Yoshihiro Shindo</dc:creator>
				<category><![CDATA[Event]]></category>
		<category><![CDATA[Spark]]></category>

		<guid isPermaLink="false">http://blog.jactionscripters.com/?p=700</guid>
		<description><![CDATA[Every month, the Spark Project has a meeting to study some topics about Flash and ActionScript at the Adobe Japan office in Osaki, Tokyo Japan. Yesterday, we had our ninth meeting. Yesterday was special because Geoff Stearns of the SWFObject attended our meeting! The following is a short report.
Hot news from Adobe by Mariko Nishimura
First [...]]]></description>
			<content:encoded><![CDATA[<p>Every month, <a href="http://www.libspark.org/wiki/WikiStart/en">the Spark Project</a> has a meeting to study some topics about Flash and ActionScript at the Adobe Japan office in Osaki, Tokyo Japan. Yesterday, we had our ninth meeting. Yesterday was special because <a href="http://blog.deconcept.com/">Geoff Stearns</a> of the <a href="http://code.google.com/p/swfobject/">SWFObject</a> attended our meeting! The following is a short report.</p>
<p><b>Hot news from Adobe</b> by Mariko Nishimura</p>
<p>First in every meeting, we listen to hot news from Adobe. Today, Mariko introduced <a href="http://www.adobe.com/jp/newsletters/edge/may2009/Fcontent/index.html">a report of the FITC Toronto 2009 on the Adobe Edge Newsletter</a> and a seminar about <a href="https://www.scaleform.com/products/gfx">Scaleform GFx</a> that will be held on 18 June at Adobe.</p>
<p><b>History of the SWFObject</b> by Geoff Stearns</p>
<p>Next, is Geoff. We requested earlier for him to give us a presentation and he gladly OKed (Thank you!). So he introduced the history of the SWFObject. It was a very interesting story! After the story, we had time to question stuff like: &#8220;Which is your favorite camera: Canon or Nikon?&#8221; &#8220;Canon.&#8221; <img src='http://blog.jactionscripters.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  Thank you for a great time Geoff!</p>
<p><b>News of the Spark project</b> by me</p>
<p>Same as the Hot news from Adobe, we had time to hear about recent news of the Spark Project. Today, I introduced <a href="http://event.67.org/spark2009/">Spark67 Part2 Edge ActionScript Libraries</a>. It&#8217;s a workshop about FLARToolKit and JSFL that will be held on 19 June.</p>
<p>Next, I introduced what libraries were committed in this month. (Sorry many libraries have documentation only in Japanese&#8230;)</p>
<ul>
<li><a href="http://www.libspark.org/wiki/tngar/mouseZoom">mouseZoom</a> by tngar &#8211; A library to realize zoom by mouse wheeling or pan by dragging.</li>
<li><a href="http://www.libspark.org/wiki/alumican/JPPScrollbar">JPPScrollBar</a> by alumican &#8211; A scrollbar that simply works if you drop it on the stage.</li>
<li><a href="http://blog.jactionscripters.com/2009/05/18/wp-al-swfobject-was-launched/">WP-Al-SWFObject</a> by alumican &#8211; A WordPress plugin to embed SWF in an article.</li>
<li><a href="http://www.libspark.org/wiki/uranodai/StreetViewManager">StreetViewManager</a> by uranodai &#8211; A library to communicate with Flash and Google Maps Street View.</li>
<li><a href="http://www.libspark.org/wiki/keim/SiON_e">SiON</a> by keim &#8211; An integrated sound library that supports PSG, FM, WaveTable and PCM sound module emulations, MML (Music Macro Language) compiler with a sequencer and sound effectors.</li>
<li><a href="http://blog.jactionscripters.com/2009/05/23/introduction-of-qr-code-reader-library/">QRCodeReader</a> by LOGOSWARE &#8211; A library to recognize and decode QRCode within a specified image.</li>
<li><a href="http://blog.jactionscripters.com/2009/05/19/lcdbitmap/">LCDBitmap</a> by me &#8211; A class to display BitmapData like a LCD display.</li>
<li><a href="http://www.libspark.org/wiki/Psycode">Psycode</a> by psyark &#8211; An enchanced TextArea for code input and editing.</li>
<li><a href="http://www.libspark.org/wiki/asahiufo/MyGameLib">MyGameLib</a> by asahiufo &#8211; Some utilities (collision detection, map tip, etc) for game development.</li>
<li><a href="http://kawa.at.webry.info/200905/article_8.html">LiveChromaKey</a> by kawanet &#8211; A library for chroma key without blue-back.</li>
<li><a href="http://kawa.at.webry.info/200905/article_4.html">JSARToolKit</a> by kawanet &#8211; A JavaScript version of the FLARToolKit.</li>
<li><a href="http://www.libspark.org/wiki/kaede/TweenerTransitionsPanel">TweenerTransitionPanel</a> by kaede &#8211; Flash CS4 panel to list Tweener transitions.</li>
<li><a href="http://www.libspark.org/wiki/kaede/RealPub">RealPub</a> by kaede &#8211; Enables real-time publishing (like action coding) by using JSFL.</li>
<li><a href="http://www.libspark.org/wiki/uwi/TLife">TLife</a> by uwi &#8211; A twitter client for advanced twitter users made by AIR.</li>
</ul>
<p><b>JSFL</b> by Yusuke Kamo</p>
<p>Yusuke really loves JSFL. So he Introduced some useful JSFL he created: <a href="http://www.libspark.org/wiki/kaede/insertLabel">insertLabel</a> (Insert sequencial label to key frames), <a href="http://www.libspark.org/wiki/kaede/AllClassLinkageReplace">AllClassLinkageReplace</a> (Replace linkage name in all documents) and <a href="http://www.libspark.org/wiki/kaede/RealPub">RealPub</a> (Real time publishing). He showed not only JSFL but also a useful SWF panel too.</p>
<p><b>JSARToolKit and LiveChromaKey</b> by Yusuke Kawasaki</p>
<p>Yusuke is basically Perl or JavaScript programmer. He ported the FLARToolKit to JavaScript as the <a href="http://kawa.at.webry.info/200905/article_4.html">JSARToolKit</a> and showed it. And recently, he has started to use ActionScript3. Then he created the <a href="http://kawa.at.webry.info/200905/article_4.html">LiveChromaKey</a> and LivePointers. He introduced these libraries with his awsome presentation that looked like the Minority Report!</p>
<p><b>Psycode</b> by Keiichi Yoshikawa</p>
<p>Keiichi has created awsome TextArea called <a href="http://www.libspark.org/wiki/Psycode">Psycode</a> for coding. It provides syntax hilighting, auto indenting, undo/redo, etc and works very fast! In addition, he created a function to record code within Psycode. He showed recording and replaying his code with his custom development enviroment!</p>
<p><b>Special Event</b></p>
<p>Special topic: few days ago was Geoff&#8217;s birthday! So some creators told him Happy Birthday with their own Flash demos!</p>
<ul>
<li>Kenichi Ueno presented a Flash that would automatically generate a birthday cake printed a photo of Geoff&#8217;s face taken by Web Camera!</li>
<li>Izukawa Takanobu presented <a href="http://wonderfl.kayac.com/code/0ef084b3e55dc5bb63afabc0be27ebff6bf335c8">this movie</a>. It finds a text string &#8220;Happy Birthday <img src='http://blog.jactionscripters.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> &#8221; from SWFObject&#8217;s code!</li>
<li>Yusuke Kamo presented a JSFL command that would show a text string &#8220;SWFObject&#8221; on grided key frames in the timeline!</li>
<li>Shunsuke Ohba presented an empty box&#8230;? no! &#8220;AR&#8221; birthday cake inside it!!</li>
<li>I presented an &#8220;AR&#8221; message card. &#8220;Happy Birthday&#8221; would be shown on the card by particles.</li>
</ul>
<hr />
<p>It was a great time. Thank you for all speakers, participants and Geoff! <img src='http://blog.jactionscripters.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jactionscripters.com/2009/05/29/monthly-spark-meeting-09/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>BeatTimer: Synchronize with the beat</title>
		<link>http://blog.jactionscripters.com/2009/05/27/beattimer/</link>
		<comments>http://blog.jactionscripters.com/2009/05/27/beattimer/#comments</comments>
		<pubDate>Wed, 27 May 2009 14:31:53 +0000</pubDate>
		<dc:creator>Yoshihiro Shindo</dc:creator>
				<category><![CDATA[Library]]></category>
		<category><![CDATA[Spark]]></category>

		<guid isPermaLink="false">http://blog.jactionscripters.com/?p=682</guid>
		<description><![CDATA[In the previous my entry, I introduced the dotFes Clock. I used some tricks to synchronize with the BGM strictly in it. One is a BeatTimer.
It is a timer to synchronize with the beat. If you create an instance of the BeatTimer and call the start method with a tempo by BPM, it starts time [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.jactionscripters.com/2009/05/25/dotfes-clock/">In the previous my entry</a>, I introduced the dotFes Clock. I used some tricks to synchronize with the BGM strictly in it. One is a <a href="http://www.libspark.org/wiki/BeatTimer/en">BeatTimer</a>.</p>
<p>It is a timer to synchronize with the beat. If you create an instance of the BeatTimer and call the start method with a tempo by <a href="http://en.wikipedia.org/wiki/Beats_per_minute">BPM</a>, it starts time counting since the current time.</p>
<p><code-style>
<pre name="code" class="as3">
var timer:BeatTimer = new BeatTimer();
timer.start(140);
</pre>
<p></code-style></p>
<p>And it updates some properties based on the time lapsed since the time of the timer has started if you call the update method.</p>
<p><code-style>
<pre name="code" class="as3">
timer.update();
</pre>
<p></code-style></p>
<p>Then, you can get some useful values.</p>
<ul>
<li>beatPosition: Indicates how many beats have been passed. For example, when three quarter notes and an eighth note are passed, the property returns 3.5.</li>
<li>phase: Indicates a position on the beat. If the new beat started, it indicates 0.0 and if the beat finished, it indicates 1.0.</li>
<li>isOnBeat: Indicates whether it has been in the new beat by the update method call this time. </li>
</ul>
<p>For example, you can trace a message with 4 beat kicks by the following code:</p>
<p><code-style>
<pre name="code" class="as3">
if (timer.isOnBeat) {
    trace('Kick!');
}
</pre>
<p></code-style></p>
<p>In the dotFes Clock, I used it to change motion parameters synchronizing the rhythm. <img src='http://blog.jactionscripters.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jactionscripters.com/2009/05/27/beattimer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>dotFes Clock</title>
		<link>http://blog.jactionscripters.com/2009/05/25/dotfes-clock/</link>
		<comments>http://blog.jactionscripters.com/2009/05/25/dotfes-clock/#comments</comments>
		<pubDate>Mon, 25 May 2009 14:02:56 +0000</pubDate>
		<dc:creator>Yoshihiro Shindo</dc:creator>
				<category><![CDATA[Showcase]]></category>

		<guid isPermaLink="false">http://blog.jactionscripters.com/?p=622</guid>
		<description><![CDATA[
In Octorber 14 2008, dotFes, a creative event for the web designers and developers presided by the web school and creation company cshool and the famous magazine for web design WebDesinging, was held at Tokyo Japan. There were technical sessions, talk shows, live peformances, exhibitions and more. Because it was held at the closure of [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.jactionscripters.com/wp-content/uploads/2009/05/image-dotfesclock.png" alt="dotFes Clock" title="dotFes Clock" width="640" height="360" class="alignnone size-full wp-image-623" /></p>
<p>In Octorber 14 2008, <a href="http://www.dotfes.jp/2008tokyo/index.html">dotFes</a>, a creative event for the web designers and developers presided by the web school and creation company <a href="http://www.cshool.jp/">cshool</a> and the famous magazine for web design <a href="http://book.mycom.co.jp/wd/">WebDesinging</a>, was held at Tokyo Japan. There were technical sessions, talk shows, live peformances, exhibitions and more. Because it was held at the closure of a school, it was like a school festival for the web persons.</p>
<p>Before the event, leader wanted a movie for the break time. So I created <a href="http://www.be-interactive.org/works/dotfes/clock.html">dotFes Clock</a> with <a href="http://www.higechompa.com/">Naoki Mima</a> (<a href="http://www.rightning.com/">Rightning, Inc</a>).</p>
<p>It&#8217;s an interactive clock. All motions are controled by ActionScript based on the BGM. There are 5 musics for every minutes and different motions for each music. Illustration is always same, but you may have a different impression if the music is changed. This is one of the my favorite work. <img src='http://blog.jactionscripters.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
</ul>
<li>P, D: Naoki Mima (Rightning, Inc)</li>
<li>Fl: Yoshihiro Shindo (BeInteractive!)</li>
<li>So: Yasuhiro Tsuchiya (DENTSU INC. KANSAI)</li>
<li>Il: 2g</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://blog.jactionscripters.com/2009/05/25/dotfes-clock/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Optimize iteration for Particle</title>
		<link>http://blog.jactionscripters.com/2009/05/22/optimize-iteration-for-particle/</link>
		<comments>http://blog.jactionscripters.com/2009/05/22/optimize-iteration-for-particle/#comments</comments>
		<pubDate>Fri, 22 May 2009 05:08:45 +0000</pubDate>
		<dc:creator>Yoshihiro Shindo</dc:creator>
				<category><![CDATA[Coding]]></category>
		<category><![CDATA[Experiment]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://blog.jactionscripters.com/?p=598</guid>
		<description><![CDATA[Few weeks ago, Particle was a trend in Japanese Flash guys. Many works were posted to the Wonderfl with a tag &#8220;パーティクル祭 (Particle Matsuri)&#8221; (means Particle Festival).
In one of them, there is &#8220;100,000 particles&#8221; posted by bkzen. I think it&#8217;s pretty cool! but I need more speed. :p So I posted a quick optmized one. [...]]]></description>
			<content:encoded><![CDATA[<p>Few weeks ago, <a href="http://en.wikipedia.org/wiki/Particle_system">Particle</a> was a trend in Japanese Flash guys. Many works <a href="http://wonderfl.kayac.com/tag/%E3%83%91%E3%83%BC%E3%83%86%E3%82%A3%E3%82%AF%E3%83%AB%E7%A5%AD">were posted to the Wonderfl with a tag &#8220;パーティクル祭 (Particle Matsuri)&#8221;</a> (means Particle Festival).</p>
<p>In one of them, there is <a href="http://wonderfl.kayac.com/code/b218434cf7db99283847f9947b221628ac408346">&#8220;100,000 particles&#8221;</a> posted by <a href="http://blog.bk-zen.com/">bkzen</a>. I think it&#8217;s pretty cool! but I need more speed. :p So I posted a <a href="http://wonderfl.kayac.com/code/6efe4c0d9b5e27e91db92b1175409f31e7005dca">quick optmized one</a>. It brings 33% faster (21fps -> 28fps) in my Mac. <img src='http://blog.jactionscripters.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>You can see what did I changed by clicking &#8220;diff&#8221; link in above page. In short, I changed an iteration method from Array to <a href="http://en.wikipedia.org/wiki/Linked_list">LinkedList</a>. Because array index access and calculating and checking an index (variable i) are pretty slow.</p>
<p><code-style>
<pre name="code" class="as3">
// Slow
while (i > num) {
    p = particles[i];
    // do something
    i++;
}
</pre>
<p></code-style></p>
<p>But accessing an member variable is fast because it's optimized by AVM2. So it causes fast iteration.</p>
<p><code-style>
<pre name="code" class="as3">
// Fast
while ((p = p.next) != null) {
    // do something
}
</pre>
<p></code-style></p>
<p>Please use this optimization if you need fast iteration especially in case you have a large data.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jactionscripters.com/2009/05/22/optimize-iteration-for-particle/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASReflect: Java like reflection in AS3</title>
		<link>http://blog.jactionscripters.com/2009/05/21/asreflect/</link>
		<comments>http://blog.jactionscripters.com/2009/05/21/asreflect/#comments</comments>
		<pubDate>Thu, 21 May 2009 03:50:02 +0000</pubDate>
		<dc:creator>Yoshihiro Shindo</dc:creator>
				<category><![CDATA[Library]]></category>
		<category><![CDATA[Spark]]></category>

		<guid isPermaLink="false">http://blog.jactionscripters.com/?p=572</guid>
		<description><![CDATA[flash.utils.describeType is an only way to do reflection in AS3 but it&#8217;s annoying to work with XML! So I created a library called ASReflect to manipulate the result of describeType more instinctively. ASReflect has some Java like reflection classes.
The following is an example. If you have a class MyClass like:


package
{
    public class [...]]]></description>
			<content:encoded><![CDATA[<p>flash.utils.describeType is an only way to do reflection in AS3 but it&#8217;s annoying to work with XML! So I created a library called ASReflect to manipulate the result of describeType more instinctively. ASReflect has some Java like reflection classes.</p>
<p>The following is an example. If you have a class MyClass like:</p>
<p><code-style>
<pre name="code" class="as3">
package
{
    public class MyClass
    {
        public var a:String;
        public var b:Number;

        public function func():void
        {
        }

        public function add(arg1:int, arg2:int):int
        {
            return arg1 + arg2;
        }
    }
}
</pre>
<p></code-style></p>
<p>You can get type information as an instance of Type class by ASReflect.getType method.</p>
<p><code-style>
<pre name="code" class="as3">
var type:Type = ASReflect.getType(MyClass);
</pre>
<p></code-style></p>
<p>Then, for example, you can output "class name", "property name and type" and "method name, parameter count and return type" by the following code:</p>
<p><code-style>
<pre name="code" class="as3">
trace('ClassName:', type.name);
trace('Properties:');
for each (var prop:Property in type.properties) {
    trace(' ' + prop.name, prop.type);
}
trace('Methods:');
for each (var method:Method in type.methods) {
    trace(' ' + method.name, method.parameters.length, method.returnType);
}
</pre>
<p></code-style></p>
<p>Output of above code:</p>
<p><code><br />
ClassName: MyClass<br />
Properties:<br />
&nbsp;a [class String]<br />
&nbsp;b [class Number]<br />
&nbsp;length [class int]<br />
Methods:<br />
&nbsp;add 2 [class int]<br />
&nbsp;func 0 null<br />
</code></p>
<p>There is <a href="http://www.libspark.org/htdocs/as3/asreflect/asdoc/">ASDoc</a> only in Japanese (sorry...), but I think you can guess what does property or method provide by its name. Please ask me if you have any question.</p>
<p>Source <a href="http://www.libspark.org/svn/as3/ASReflect/">was committed</a> to the Spark project. And also you can get a <a href="http://www.libspark.org/svn/as3/ASReflect/tags/1.00-rc1/bin/asreflect-1.00-rc1.swc">SWC package</a> or a <a href="http://www.libspark.org/svn/as3/ASReflect/tags/1.00-rc1/bin/asreflect-1.00-rc1-src.zip">source code archive</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jactionscripters.com/2009/05/21/asreflect/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>LCDBitmap: A class version of Saburin&#8217;s LCD effect</title>
		<link>http://blog.jactionscripters.com/2009/05/19/lcdbitmap/</link>
		<comments>http://blog.jactionscripters.com/2009/05/19/lcdbitmap/#comments</comments>
		<pubDate>Tue, 19 May 2009 12:43:25 +0000</pubDate>
		<dc:creator>Yoshihiro Shindo</dc:creator>
				<category><![CDATA[Library]]></category>
		<category><![CDATA[Spark]]></category>

		<guid isPermaLink="false">http://blog.jactionscripters.com/?p=484</guid>
		<description><![CDATA[
The previous Saburin&#8217;s post is very impressive for me. But his code is a little difficult to use in my projects.  
So, I created a class LCDBitmap based on his code to use a great effect more handily.   You can use it like:


addChild(new LCDBitmap(bitmapData));


A bitmapData is an instance of BitmapData you want [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.jactionscripters.com/wp-content/uploads/2009/05/image-lcdbitmap.png" alt="LCDBitmap" title="LCDBitmap" width="640" height="360" class="alignnone size-full wp-image-485" /></p>
<p><a href="http://blog.jactionscripters.com/2009/05/18/study-recreating-lcd-panels-trinitron-like-matrices/">The previous Saburin&#8217;s post</a> is very impressive for me. But his code is a little difficult to use in my projects. <img src='http://blog.jactionscripters.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>So, I created a class <a href="http://www.libspark.org/wiki/LCDBitmap/en">LCDBitmap</a> based on his code to use a great effect more handily. <img src='http://blog.jactionscripters.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' />  You can use it like:</p>
<p><code-style>
<pre name="code" class="as3">
addChild(new LCDBitmap(bitmapData));
</pre>
<p></code-style></p>
<p>A bitmapData is an instance of BitmapData you want to display. You can get same result by this simple code. In addition, you can customize a size or a margin of tiles displaying the RGB by passing 2nd or 3rd parameter.</p>
<p><code-style>
<pre name="code" class="as3">
addChild(new LCDBitmap(bitmapData, 4, 2));
</pre>
<p></code-style></p>
<p>In this case, the size is 4px and the margin is 2px.</p>
<p>Source <a href="http://www.libspark.org/svn/as3/LCDBitmap/trunk/">was committed</a> to the Spark project. And a <a href="http://wonderfl.kayac.com/code/24e18ed6f687f9ec084acfc8980f96c35aeb227f">Quick Demo</a> was posted to the Wonderfl. Please check it out!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jactionscripters.com/2009/05/19/lcdbitmap/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>ForcibleLoader: Loads AVM1 SWF files into AVM2</title>
		<link>http://blog.jactionscripters.com/2009/05/18/forcibleloader/</link>
		<comments>http://blog.jactionscripters.com/2009/05/18/forcibleloader/#comments</comments>
		<pubDate>Mon, 18 May 2009 04:47:31 +0000</pubDate>
		<dc:creator>Yoshihiro Shindo</dc:creator>
				<category><![CDATA[Library]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Spark]]></category>

		<guid isPermaLink="false">http://blog.jactionscripters.com/?p=317</guid>
		<description><![CDATA[By default, Flash Player loads a movie as an instance of the AVM1Movie class if you load a SWF file with a version lower than 9 by the Loader class in AS3. This means you can&#8217;t touch any MovieClips in the such SWF file through the Loader. But sometimes we want to do it. I [...]]]></description>
			<content:encoded><![CDATA[<p>By default, Flash Player loads a movie as an instance of the AVM1Movie class if you load a SWF file with a version lower than 9 by the Loader class in AS3. This means you can&#8217;t touch any MovieClips in the such SWF file through the Loader. But sometimes we want to do it. I created a solution to this problem &#8211; <a href="http://www.libspark.org/svn/as3/ForcibleLoader/src/org/libspark/utils/ForcibleLoader.as">ForcibleLoader</a></p>
<p><code-style>
<pre name="code" class="as3">
var loader:Loader = Loader(addChild(new Loader()));
var fLoader:ForcibleLoader = new ForcibleLoader(loader);
fLoader.load(new URLRequest('swf7.swf'));
</pre>
<p></code-style></p>
<p>This is how to use it. It loads every SWF file including files under version 9 into the Loader as a AVM2 movie. So now you can access MovieClips in the SWF file through the instance of Loader.</p>
<p>Note: It will not work well if the SWF file contains ActionScript2 because ForcibleLoader doesn't convert any scripts.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jactionscripters.com/2009/05/18/forcibleloader/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>1 min. Introduction of Spark project</title>
		<link>http://blog.jactionscripters.com/2009/05/17/1-min-introduction-of-spark-project/</link>
		<comments>http://blog.jactionscripters.com/2009/05/17/1-min-introduction-of-spark-project/#comments</comments>
		<pubDate>Sun, 17 May 2009 14:08:21 +0000</pubDate>
		<dc:creator>Yoshihiro Shindo</dc:creator>
				<category><![CDATA[Library]]></category>
		<category><![CDATA[Spark]]></category>

		<guid isPermaLink="false">http://blog.jactionscripters.com/?p=178</guid>
		<description><![CDATA[
One thing I must introduce to you is the Spark project, because I founded it.
Be happy by sharing source code and knowhow with everyone!

&#8230;this is the slogan of the Spark project.
The Spark project is an open source community for the Flash/ActionScript developers. It is the biggest Flash community in Japan. There are over 200 committers [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.jactionscripters.com/wp-content/uploads/2009/05/image.png" alt="Spark project " title="Spark project " width="640" height="396" class="alignnone size-full wp-image-180" /></p>
<p>One thing I must introduce to you is the <a href="http://www.libspark.org/wiki/WikiStart/en">Spark project</a>, because I founded it.</p>
<blockquote><p>Be happy by sharing source code and knowhow with everyone!</p>
</blockquote>
<p>&#8230;this is the slogan of the Spark project.</p>
<p>The Spark project is an open source community for the Flash/ActionScript developers. It is the biggest Flash community in Japan. There are over 200 committers are joining and over 130 projects, classes and libraries were committed.</p>
<p>One big project you may already know&#8230; is the <a href="http://www.libspark.org/wiki/saqoosha/FLARToolKit/en">FLARToolKit</a> committed by Saqoosha, of course, one of the JActionScripters. FLARToolKit is an AS3 version of <a href="http://www.hitl.washington.edu/artoolkit/">ARToolKit</a>. I guess Saqoosha will introduce this in more detail.</p>
<p>There are many other libraries committed by members of the JActionScripters including me. I hope they will introduce thier work in future posts. Of course, I&#8217;ll introduce my projects in the near future.</p>
<p>You can find more information at <a href="http://www.libspark.org/wiki/WikiStart/en">website</a>. Our SVN repository is <a href="http://www.libspark.org/svn/">here</a>. Everyone can checkout all files committed in the repository. If you&#8217;d like to add new code, modify existing code, create branch and so on, please <a href="http://www.libspark.org/wiki/About/en#Register">become a comitter</a>. We always welcome to new comitters! <img src='http://blog.jactionscripters.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>This is a short description of the Spark project. I&#8217;ll tell you more detail in the future posts. Thanks!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jactionscripters.com/2009/05/17/1-min-introduction-of-spark-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hi ActionScripters all over the world!</title>
		<link>http://blog.jactionscripters.com/2009/05/15/hi-actionscripters-all-over-the-world/</link>
		<comments>http://blog.jactionscripters.com/2009/05/15/hi-actionscripters-all-over-the-world/#comments</comments>
		<pubDate>Fri, 15 May 2009 06:56:17 +0000</pubDate>
		<dc:creator>Yoshihiro Shindo</dc:creator>
				<category><![CDATA[Hello]]></category>

		<guid isPermaLink="false">http://jactionscripter.heteml.jp/jactionscripters/blog/?p=3</guid>
		<description><![CDATA[Hi ActionScripters! Can you see this? Nice to meet you! In the first article, I think it&#8217;s logical to introduce myself.
My name is Yoshihiro Shindo a.k.a. BeInteractive!. I am one of the JActionScripters, a freelance Flash/ActionScript engineer, 20 years old and an organizer of the Spark project (I&#8217;ll introduce it next time). Sometimes I create [...]]]></description>
			<content:encoded><![CDATA[<p>Hi ActionScripters! Can you see this? Nice to meet you! In the first article, I think it&#8217;s logical to introduce myself.</p>
<p>My name is Yoshihiro Shindo a.k.a. <a href="http://www.be-interactive.org/en.php">BeInteractive!</a>. I am one of the JActionScripters, a freelance Flash/ActionScript engineer, 20 years old and an organizer of the <a href="http://www.libspark.org/">Spark project</a> (I&#8217;ll introduce it next time). Sometimes I create <a href="http://iphone.be-interactive.org/">iPhone Apps</a> too. I love ActionScript more than eating meals!! (but of course, I&#8217;ll eat if I feel hungry&#8230;) I&#8217;m not that good at English, but I decided to join this blog to learn English more intensively. Please watch me <img src='http://blog.jactionscripters.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>BTW, I have my twitter account <a href="http://twitter.com/beinteractive">@beinteractive</a>. I&#8217;m trying to write tweets in both English and Japanese in this account. Please follow!</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.jactionscripters.com/2009/05/15/hi-actionscripters-all-over-the-world/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
