<?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/"
	>

<channel>
	<title>Second Physical Communication Laboratory</title>
	<atom:link href="http://wdash.net/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://wdash.net</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Mon, 29 Mar 2010 04:17:36 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The simple Vide Chat on Flex3</title>
		<link>http://wdash.net/?p=302</link>
		<comments>http://wdash.net/?p=302#comments</comments>
		<pubDate>Mon, 29 Mar 2010 03:52:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[ASP]]></category>

		<category><![CDATA[Adobe Flex3]]></category>

		<category><![CDATA[Showcase]]></category>

		<category><![CDATA[flex3 actionscript chat video]]></category>

		<category><![CDATA[Red5]]></category>

		<guid isPermaLink="false">http://wdash.net/?p=302</guid>
		<description><![CDATA[I described the program of a very simple video chat out with Flex3 and Red5.
Donwload Flex3 source on FlashDevelop 3.0 here
Download Red5 source and Webapp. here

mxml : main.mxml
&#38;lt;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#38;gt;
&#38;lt;mx:Application xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34;
creationComplete=&#34;init()&#34;
layout=&#34;absolute&#34;&#38;gt;

&#38;lt;mx:Script&#38;gt;
&#38;lt;![CDATA[
public var myCameraView:mystreaming = new mystreaming();
private var con:ChatConnection;
private var streamingURL:String = &#34;rtmp://192.168.116.128/buruburu&#34;;
private var channetKey:String = &#34;demo&#34;;
public function init():void {
con = new ChatConnection();
Textframe.addChild(con.logtext);
}
private function connect_chat():void {
if [...]]]></description>
			<content:encoded><![CDATA[<p>I described the program of a very simple video chat out with Flex3 and Red5.</p>
<p>Donwload Flex3 source on FlashDevelop 3.0 <a href="http://wdash.net/StreamChat.zip">here</a><a href="http://wdash.net/WEB-INF.zip"></a></p>
<p>Download Red5 source and Webapp. <a href="http://wdash.net/WEB-INF.zip">here</a></p>
<p><img class="alignnone" src="http://wdash.net/simpleChat.jpg" alt="" width="588" height="256" /></p>
<p>mxml : main.mxml</p>
<div class="hl-surround" style="height:280px;"><div class="hl-main"><pre>&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&amp;gt;
&amp;lt;mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot;
creationComplete=&quot;init()&quot;
layout=&quot;absolute&quot;&amp;gt;

&amp;lt;mx:Script&amp;gt;
&amp;lt;![CDATA[
public var myCameraView:mystreaming = new mystreaming();
private var con:ChatConnection;
private var streamingURL:String = &quot;rtmp://192.168.116.128/buruburu&quot;;
private var channetKey:String = &quot;demo&quot;;
public function init():void {
con = new ChatConnection();
Textframe.addChild(con.logtext);
}
private function connect_chat():void {
if (connectOpen.label == &quot;公開開始&quot;) {
cameraview.attachCamera(myCameraView.myLocalvideo.myCamera);
myCameraView.channetKey = channetKey;
myCameraView.connect_chat();
con.close();
connectOpen.label = &quot;公開中止&quot;;
}else {
myCameraView.disconnect_chat();
con.close();
connectOpen.label = &quot;公開開始&quot;;
}
}
private function shuffle_chat():void {
var myGuseView:gueststreaming = new gueststreaming();
myGuseView.channetKey = channetKey;
myGuseView.playVideo();
streamview.addChild(myGuseView.video);
con.connect(streamingURL);
}
private function sendMsg():void {
con.call(&quot;writeText&quot;, null, message.text);
message.text = &quot;&quot;;
}
]]&amp;gt;
&amp;lt;/mx:Script&amp;gt;
&amp;lt;mx:Panel id=&quot;VideoPanel&quot; title=&quot;Bijo Chat&quot; backgroundColor=&quot;0xb1bfc5&quot; &amp;gt;
&amp;lt;mx:HBox  id=&quot;Menuframe&quot;&amp;gt;
&amp;lt;mx:Button id=&quot;connectOpen&quot; x=&quot;0&quot; y=&quot;0&quot; label=&quot;公開開始&quot;  fontSize=&quot;10&quot; click=&quot;connect_chat()&quot; visible=&quot;true&quot; textRollOverColor=&quot;0xdeb700&quot; /&amp;gt;
&amp;lt;mx:Button id=&quot;connectClose&quot; x=&quot;100&quot; y=&quot;0&quot; label=&quot;シャッフル&quot; fontSize=&quot;10&quot; click=&quot;shuffle_chat()&quot;  visible=&quot;true&quot; textRollOverColor=&quot;0xdeb700&quot;/&amp;gt;
&amp;lt;/mx:HBox&amp;gt;
&amp;lt;mx:HBox  id=&quot;Hframe&quot;&amp;gt;
&amp;lt;mx:VBox  id=&quot;Videoframe&quot;&amp;gt;
&amp;lt;mx:VideoDisplay x=&quot;0&quot; y=&quot;0&quot; width=&quot;320&quot; height=&quot;180&quot; id=&quot;streamview&quot;  visible=&quot;true&quot; backgroundImage=&quot;@Embed('iphone-camera-icon.jpg')&quot;/&amp;gt;
&amp;lt;mx:VideoDisplay x=&quot;0&quot; y=&quot;10&quot; width=&quot;320&quot; height=&quot;180&quot; id=&quot;cameraview&quot;  visible=&quot;true&quot; backgroundImage=&quot;@Embed('iphone-camera-icon.jpg')&quot;/&amp;gt;
&amp;lt;/mx:VBox&amp;gt;
&amp;lt;mx:VBox  id=&quot;Textframe&quot;&amp;gt;
&amp;lt;mx:TextInput id=&quot;message&quot; width=&quot;100%&quot; enter=&quot;sendMsg()&quot; /&amp;gt;
&amp;lt;/mx:VBox&amp;gt;
&amp;lt;/mx:HBox&amp;gt;
&amp;lt;/mx:Panel&amp;gt;
&amp;lt;/mx:Application&amp;gt;</pre></div></div>
<p>AS:mystreaming.as</p>
<div class="hl-surround" style="height:280px;"><div class="hl-main"><pre>package
{
import flash.media.Video;
import flash.net.NetConnection;
import flash.media.Camera;
import flash.media.Microphone;
import flash.net.NetStream;
import flash.events.*;
import mx.accessibility.AccImpl;
import flash.display.Sprite;
import flash.events.*;
import flash.net.URLLoader;
import flash.net.URLLoaderDataFormat;
import flash.net.URLRequest;
import flash.net.URLVariables;
import flash.events.NetStatusEvent;
import flash.events.EventDispatcher;
import mx.controls.Alert;
import mx.events.SliderEvent;
import mx.controls.sliderClasses.Slider;
import mx.rpc.events.ResultEvent;
import mx.managers.PopUpManager;
import mx.core.IFlexDisplayObject;
import mx.collections.ArrayCollection;
/**
* ...
* @author yuucha
*/
public class mystreaming
{
public var counter:Number = 0;
private var pub_nc:NetConnection;
private var pub_ns:NetStream;

private var streamingURL:String = &quot;rtmp://192.168.116.128/buruburu&quot;;
private var play_nc:NetConnection;
private var play_ns:NetStream;
private var stat:Number;
private  var clientID:Number;
private var StreamingCamera:Camera;
private var StreamingMic:Microphone;
public var myLocalvideo:myvideo;
public var video:Video = new Video(320, 180);
public var channetKey:String = &quot;&quot;;

public function mystreaming():void
{
myLocalvideo = new myvideo();
}

public function onBWDone(... rest):Boolean {
return true;
}
public function newStream():void {
trace(&quot;newStream&quot;);
}
public function onBWCheck(... rest):Number {
return 0;
}
public function connect_chat():void {
pub_nc = new NetConnection();
var clientObj:Object = new Object();
clientObj.onBWDone = onBWDone;
clientObj.onBWCheck = onBWCheck;
pub_nc.client = clientObj;
pub_nc.connect(streamingURL);
pub_nc.addEventListener(NetStatusEvent.NET_STATUS,pub_netStatus);
pub_nc.addEventListener(SecurityErrorEvent.SECURITY_ERROR,onSecurityError);
}
public function disconnect_chat():void {
pub_nc.close();
Alert.show(&quot;映像の公開を中止しました。&quot;);
}
private function pub_netStatus(event:NetStatusEvent):void {
if (event.info.code == &quot;NetConnection.Connect.Success&quot;) {
pub_ns = new NetStream(pub_nc);
pub_ns.attachAudio(myLocalvideo.myMic);
pub_ns.attachCamera(myLocalvideo.myCamera);
pub_ns.publish(channetKey, &quot;live&quot;);
Alert.show(&quot;ストリーミングサーバへの接続に成功しました。&quot;);
}
else if (event.info.code == &quot;NetConnection.Connect.Closed&quot;) {
pub_ns.close();
Alert.show(&quot;ストリーミングサーバへの接続に失敗しました。&quot;);
}
else {
trace(&quot;error&quot;);
}
}
private function onSecurityError(event:SecurityErrorEvent):void {
trace(&quot;netSecurityError:&quot; + event);
}

}

}</pre></div></div>
<p>AS:gueststreaming.as</p>
<div class="hl-surround" style="height:280px;"><div class="hl-main"><pre>package
{
import flash.media.Video;
import flash.net.NetConnection;
import flash.media.Camera;
import flash.media.Microphone;
import flash.net.NetStream;
import flash.events.*;
import mx.accessibility.AccImpl;
import flash.display.Sprite;
import flash.events.*;
import flash.net.URLLoader;
import flash.net.URLLoaderDataFormat;
import flash.net.URLRequest;
import flash.net.URLVariables;
import flash.events.NetStatusEvent;
import flash.events.EventDispatcher;
import mx.controls.Alert;
import mx.events.SliderEvent;
import mx.controls.sliderClasses.Slider;
import mx.rpc.events.ResultEvent;
import mx.managers.PopUpManager;
import mx.core.IFlexDisplayObject;
import mx.collections.ArrayCollection;
/**
* ...
* @author yuucha
*/
public class gueststreaming
{
private var streamingURL:String = &quot;rtmp://192.168.116.128/buruburu&quot;;
private var play_nc:NetConnection;
private var play_ns:NetStream;
public var video:Video = new Video(320, 180);
public var channetKey:String = &quot;&quot;;

public function gueststreaming()
{
}

public function playVideo():void{
play_nc = new NetConnection();
var clientObjplay:Object = new Object();
play_nc.client = clientObjplay;
clientObjplay.setId = function setId( id:Number ):void { };
play_nc.addEventListener(NetStatusEvent.NET_STATUS, play_netStatus);
play_nc.addEventListener(SecurityErrorEvent.SECURITY_ERROR, onSecurityError);
play_nc.connect(streamingURL);
}

public function disconnect_chat():void {
play_nc.close();
}

private function onSecurityError(event:SecurityErrorEvent):void {
trace(&quot;netSecurityError:&quot; + event);
}
private function play_netStatus(event:NetStatusEvent):void {
trace(&quot;netStatus: &quot; + event.info.code);
if (event.info.code == &quot;NetConnection.Connect.Success&quot;) {
Alert.show(&quot;ストリーミングサーバへの接続に成功しました。&quot;);
play_ns = new NetStream(play_nc);
video.attachNetStream(play_ns);
play_ns.play(channetKey);
} else{
trace(&quot;error&quot;);
Alert.show(&quot;ストリーミングサーバへの接続が中断しました。&quot;);
}
}
}

}</pre></div></div>
<p>AS:myvideo.as</p>
<div class="hl-surround" style="height:280px;"><div class="hl-main"><pre>package
{
import flash.media.Video;
import flash.media.Camera;
import flash.media.Microphone;

/**
* ...
* @author yuucha
*/
public class myvideo
{
public var myCamera:Camera;
public var myMic:Microphone;

public function myvideo():void{
camera_init();
}

public function camera_init():void {
myCamera = Camera.getCamera();
myCamera.setMode(320,180, 30, true );
myCamera.setQuality(163840,0);
myMic = Microphone.getMicrophone();
myMic.rate = 44;
}
}

}</pre></div></div>
<p>AS:ChatConnection.as</p>
<div class="hl-surround" style="height:280px;"><div class="hl-main"><pre>package
{
import flash.net.NetConnection;
import mx.controls.TextArea;

public class ChatConnection extends NetConnection
{
public var logtext:TextArea = new TextArea();

public function ChatConnection()
{
super();
logtext.width = 640;
logtext.height = 320;

}

public function writeText(message:String):void
{
logtext.text = message + &quot;n&quot; + logtext.text;
}

public function setlogtext(t:String):void
{
logtext.text = t;
}

public function getTextArea():TextArea
{
return logtext;
}
}
}</pre></div></div>
<p>red5: buruburu.java</p>
<p>If you don&#8217;t want to use Text chat, you don&#8217;t need this code on your Red5 Webapp.</p>
<div class="hl-surround" style="height:280px;"><div class="hl-main"><pre>import java.util.Iterator;
import java.util.Set;

import org.red5.server.adapter.ApplicationAdapter;
import org.red5.server.api.IClient;
import org.red5.server.api.IConnection;
import org.red5.server.api.IScope;
import org.red5.server.api.Red5;
import org.red5.server.api.service.IServiceCapableConnection;

public class Application extends ApplicationAdapter
{
// クライアント側から呼ばれるメソッド
public String drawLine(IConnection conn, int startX, int startY, int endX, int endY)
{
IScope scope = Red5.getConnectionLocal().getScope();
Set&amp;lt;IClient&amp;gt; clients = scope.getClients();
Iterator&amp;lt;IClient&amp;gt; it = clients.iterator();
Object[] params = new Object[]{startX, startY, endX, endY};
while(it.hasNext())
{
IClient client = it.next();
Set&amp;lt;IConnection&amp;gt; connset = client.getConnections();
Iterator&amp;lt;IConnection&amp;gt; it_con = connset.iterator();

while(it_con.hasNext())
{
IConnection connection = it_con.next();
if(connection instanceof IServiceCapableConnection)
{
IServiceCapableConnection sc = (IServiceCapableConnection)connection;
// クライアント側のメソッドを呼ぶ
sc.invoke(&quot;drawLine&quot;, params);
}
}
}
return &quot;OK&quot;;

}</pre></div></div>
<p>This version is the less text chat.</p>
<div class="hl-surround" ><div class="hl-main"><pre>import org.red5.server.adapter.ApplicationAdapter;
import org.red5.server.api.IClient;
import org.red5.server.api.IConnection;
import org.red5.server.api.IScope;
import org.red5.server.api.Red5;
import org.red5.server.api.service.IServiceCapableConnection;

public class Application extends ApplicationAdapter
{
}</pre></div></div>
]]></content:encoded>
			<wfw:commentRss>http://wdash.net/?feed=rss2&amp;p=302</wfw:commentRss>
		</item>
		<item>
		<title>CakeSWXPHP</title>
		<link>http://wdash.net/?p=284</link>
		<comments>http://wdash.net/?p=284#comments</comments>
		<pubDate>Tue, 05 Jan 2010 02:05:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[FlexSDK3 Programming]]></category>

		<category><![CDATA[cakephp Flex CakeSWXPHP]]></category>

		<guid isPermaLink="false">http://wdash.net/?p=284</guid>
		<description><![CDATA[If you want to use RemoteObject on CakePHP, you can use &#8220;CakeSWXPHP&#8221;.
This Knowledge is refered to 株式会社ヒューマンオーク&#8217;s web site (http://www.human-ook.jp/company.html)
CakeSWXPHP allows SWX to call CakePHP controllers. CakePHP is a rapid development framework for PHP.

Download from CakeSWX blog.
http://blog.aboutme.be/cakeswxphp/
Install

exstract cakeswxphp.zip
move to directories to app and webroot.



Codeing

controller


class HelloWorldsController extends AppController {
	var $name ='HelloWorlds';
	var $uses = '';
	function hello(){
		return 'HelloWorlds';
	}
}



Flex [...]]]></description>
			<content:encoded><![CDATA[<p>If you want to use RemoteObject on CakePHP, you can use &#8220;CakeSWXPHP&#8221;.</p>
<p>This Knowledge is refered to 株式会社ヒューマンオーク&#8217;s web site (<a href="http://www.human-ook.jp/company.html">http://www.human-ook.jp/company.html</a>)</p>
<p>CakeSWXPHP allows <a title="SWX: SWF data format" href="http://www.swxformat.org/" target="_blank">SWX</a> to call <a title="CakePHP : The PHP Rapid Development Framework :: Home" href="http://www.cakephp.org/">CakePHP</a> controllers. CakePHP is a rapid development framework for PHP.</p>
<ul>
<li>Download from CakeSWX blog.<br />
<a href="http://blog.aboutme.be/cakeswxphp/">http://blog.aboutme.be/cakeswxphp/</a></li>
<li>Install
<ol>
<li>exstract cakeswxphp.zip</li>
<li>move to directories to app and webroot.</li>
</ol>
</li>
</ul>
<p><strong>Codeing</strong></p>
<ul>
<li>controller
<div class="hl-surround">
<div class="hl-main">
<pre>class HelloWorldsController extends AppController {
	var $name ='HelloWorlds';
	var $uses = '';
	function hello(){
		return 'HelloWorlds';
	}
}</pre>
</div>
</div>
</li>
<li>Flex code
<div class="hl-surround">
<div class="hl-main">
<pre>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"
minWidth="1024" minHeight="768" creationPolicy="all"&gt;
&lt;mx:Button label="ボタン" click="onClickBtn()"/&gt;
&lt;mx:RemoteObject id="srv"
	endpoint="{'http://localhost/cake/amf.php'}"
	destination="MyAmfs"
	source="HelloWorldsController"
	result="handleResult(event)"
	fault="handleError(event)"&gt;
&lt;/mx:RemoteObject&gt;
&lt;mx:Script&gt;
&lt;![CDATA[
	import mx.controls.Alert;
	import mx.rpc.events.FaultEvent;
	import mx.rpc.events.ResultEvent;

	public function onClickBtn():void{
		srv.hello();
	}

	public function handleResult(re:ResultEvent):void{
		Alert.show(re.result.toString());
	}

	public function handleError(fe:FaultEvent):void{
		Alert.show(fe.messageId);
	}
]]&gt;</pre>
</div>
</div>
</li>
</ul>
<p>RemoteObject<br />
endpoint: able to access amf.php on the cakePHP&#8217;s URL in the webroot.<br />
source: Controller&#8217;s name<br />
result: connection success<br />
fault: connection fault</p>
<blockquote><p><strong>Tips<br />
</strong></p></blockquote>
<blockquote><p>Use models<br />
return $this -&gt; Model -&gt; findall();<br />
flex can get the objectarray.</p></blockquote>
<blockquote><p>debuging tools<br />
<a href="http://localhost/cake/explorer/" target="_blank">localhost/cake/explorer/</a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://wdash.net/?feed=rss2&amp;p=284</wfw:commentRss>
		</item>
		<item>
		<title>The Gainer Flex3 analog out programming</title>
		<link>http://wdash.net/?p=272</link>
		<comments>http://wdash.net/?p=272#comments</comments>
		<pubDate>Tue, 10 Feb 2009 06:03:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[USB controlle]]></category>

		<guid isPermaLink="false">http://wdash.net/?p=272</guid>
		<description><![CDATA[I described the program of a very simple analog out with Flex3.　I made a screen of Flash in mxml and described ActiveScript in another .as file.I make one slider controller of Flash and change output data of analog if I let a controller slide.  It is powered by two AA batteries in gainer this time [...]]]></description>
			<content:encoded><![CDATA[<p>I described the program of a very simple analog out with Flex3.　I made a screen of Flash in mxml and described ActiveScript in another .as file.I make one slider controller of Flash and change output data of analog if I let a controller slide.  It is powered by two AA batteries in gainer this time and operates a DC motor.</p>
<p>mxml : demo.mxml</p>
<div class="hl-surround" ><div class="hl-main"><pre>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot; layout=&quot;absolute&quot; applicationComplete=&quot;init();&quot; width=&quot;575&quot; height=&quot;271&quot; viewSourceURL=&quot;bin/index.html&quot;&gt;
	&lt;mx:Script source=&quot;Motor.as&quot; /&gt;
	&lt;mx:Text x=&quot;146&quot; y=&quot;66&quot; text=&quot;aout 0&quot;/&gt;
	&lt;mx:HSlider x=&quot;195&quot; y=&quot;66&quot; id=&quot;ao0&quot; minimum=&quot;0&quot; maximum=&quot;255&quot; mouseUp=&quot;aOut();&quot;/&gt;
&lt;/mx:Application&gt;</pre></div></div>
<p>AS:Motor.as</p>
<div class="hl-surround" ><div class="hl-main"><pre>import gainer.Gainer;

public var gnr:Gainer;
public function init():void
{
gnr = new Gainer(&quot;localhost&quot;, 2000, Gainer.MODE1, true);
}
public function aOut():void
{
gnr.analogOutput(0,ao0.value);
}</pre></div></div>
<p><img class="alignnone" src="/data/gainer/04.jpg" alt="" width="480" height="345" /></p>
<p><img class="alignnone" src="/data/gainer/06.png" alt="" width="538" height="411" /></p>
]]></content:encoded>
			<wfw:commentRss>http://wdash.net/?feed=rss2&amp;p=272</wfw:commentRss>
		</item>
		<item>
		<title>Setting Gainer</title>
		<link>http://wdash.net/?p=268</link>
		<comments>http://wdash.net/?p=268#comments</comments>
		<pubDate>Tue, 10 Feb 2009 05:49:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[USB controlle]]></category>

		<guid isPermaLink="false">http://wdash.net/?p=268</guid>
		<description><![CDATA[It is to solder a pin first to have to do. Gainer can install two lines of pins.　I put Gainer on the top to install it precisely after having inserted a pin in a flexible board.　When I solder it, please be careful heat comes not too much, and not to break a part.



]]></description>
			<content:encoded><![CDATA[<p>It is to solder a pin first to have to do. Gainer can install two lines of pins.　I put Gainer on the top to install it precisely after having inserted a pin in a flexible board.　When I solder it, please be careful heat comes not too much, and not to break a part.</p>
<p><img class="alignnone" src="/data/gainer/01.jpg" alt="" width="480" height="318" /></p>
<p><img class="alignnone" src="/data/gainer/02.jpg" alt="" width="480" height="318" /></p>
<p><img class="alignnone" src="/data/gainer/03.jpg" alt="" width="480" height="318" /></p>
]]></content:encoded>
			<wfw:commentRss>http://wdash.net/?feed=rss2&amp;p=268</wfw:commentRss>
		</item>
		<item>
		<title>The clone Gainer</title>
		<link>http://wdash.net/?p=259</link>
		<comments>http://wdash.net/?p=259#comments</comments>
		<pubDate>Tue, 27 Jan 2009 06:31:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[USB controlle]]></category>

		<guid isPermaLink="false">http://wdash.net/?p=259</guid>
		<description><![CDATA[The parts list

 A USB microcomputer board finished product (PIC18F2550) \1,000 (tax-included).
A RS232C cable &#38; power supply set \800 (tax-included) for three AKI - PIC programmer Ver. kits.
A USB cable (A - mini B) 1.5m \150 (tax-included) (entering one case of 240).
A set of AKI - PIC programmer Ver.4 (a completion board) \5,700 (tax-included).

Update software
http://akizukidenshi.com/catalog/contents2/ver4support.aspx
MPLAB [...]]]></description>
			<content:encoded><![CDATA[<p>The parts list</p>
<ul>
<li> A USB microcomputer board finished product (PIC18F2550) \1,000 (tax-included).</li>
<li>A RS232C cable &amp; power supply set \800 (tax-included) for three AKI - PIC programmer Ver. kits.</li>
<li>A USB cable (A - mini B) 1.5m \150 (tax-included) (entering one case of 240).</li>
<li>A set of AKI - PIC programmer Ver.4 (a completion board) \5,700 (tax-included).</li>
</ul>
<p><a title="UPDATE Software" href="http://akizukidenshi.com/catalog/contents2/ver4support.aspx">Update software</a><br />
http://akizukidenshi.com/catalog/contents2/ver4support.aspx</p>
<p><a href="http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&amp;nodeId=1406&amp;dDocName=en019469">MPLAB download</a>http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&amp;nodeId=1406&amp;dDocName=en019469</p>
<p><a href="http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&amp;nodeId=1406&amp;dDocName=en010014">MPLAB C Compiler for PIC18 Down load</a><br />
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&amp;nodeId=1406&amp;dDocName=en010014
<div class="hl-surround" style="height:280px;"><div class="hl-main"><pre>#include ＜p18cxxx.h＞
#include ＜delays.h＞

#pragma config FOSC = HSPLL_HS
#pragma config WDT = OFF
#pragma config PLLDIV = 5
#pragma config CPUDIV = OSC1_PLL2
#pragma config USBDIV = 2
#pragma config PWRT = ON
#pragma config BOR = OFF
#pragma config BORV = 2
#pragma config LVP = OFF
#pragma config VREGEN = ON
#pragma config MCLRE = OFF
#pragma config PBADEN = OFF

void main(void)
{
TRISB = 0;
LATB = 0x00;
while(1){
Delay10KTCYx(100);
LATB ^= 0xff;
}
}</pre></div></div>
<p>The infometion source<br />
http://blog.goo.ne.jp/sim00/e/fee5a8d229457154de4d7c10095ebd89</p>
]]></content:encoded>
			<wfw:commentRss>http://wdash.net/?feed=rss2&amp;p=259</wfw:commentRss>
		</item>
		<item>
		<title>The sound live streaming</title>
		<link>http://wdash.net/?p=235</link>
		<comments>http://wdash.net/?p=235#comments</comments>
		<pubDate>Wed, 21 Jan 2009 09:33:09 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Showcase]]></category>

		<guid isPermaLink="false">http://wdash.net/?p=235</guid>
		<description><![CDATA[This showcase is made the controller for the streaming live sound. You can change the parameters by the some slider bars.

showcase_2.swf

&#60;?xml version=&#34;1.0&#34;?&#62;
&#60;!-- containersnavigatorsTNSimple.mxml --&#62;
&#60;mx:Application xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34;&#62;
&#60;mx:TabNavigator borderStyle=&#34;solid&#34; &#62;
&#60;mx:VBox label=&#34;Local&#34;
width=&#34;400&#34; height=&#34;400&#34;&#62;
&#60;!-- Accounts view goes here. --&#62;

    &#60;mx:Script&#62;
        &#60;![CDATA[
        import flash.media.Microphone;
 [...]]]></description>
			<content:encoded><![CDATA[<p>This showcase is made the controller for the streaming live sound. You can change the parameters by the some slider bars.<br />
<span id="more-235"></span><br />
showcase_2.swf<br />
<object width="500" height="520" data="/wp-content/showcase_2.swf" type="application/x-shockwave-flash"><param name="src" value="/wp-content/showcase_2.swf" /></object></p>
<div class="hl-surround" style="height:280px;"><div class="hl-main"><pre>&lt;?xml version=&quot;1.0&quot;?&gt;
&lt;!-- containersnavigatorsTNSimple.mxml --&gt;
&lt;mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot;&gt;
&lt;mx:TabNavigator borderStyle=&quot;solid&quot; &gt;
&lt;mx:VBox label=&quot;Local&quot;
width=&quot;400&quot; height=&quot;400&quot;&gt;
&lt;!-- Accounts view goes here. --&gt;

    &lt;mx:Script&gt;
        &lt;![CDATA[
        import flash.media.Microphone;
        import flash.net.NetConnection;
        import flash.net.NetStream;
        import flash.events.*;
        import mx.events.SliderEvent;
        import mx.controls.sliderClasses.Slider;
        import flash.text.*;
        import flash.utils.Timer;
        import flash.geom.*;
        import flash.display.*;
        import mx.events.ItemClickEvent;

        public var timer:Timer;
        public var togle:Number;
        public var myMic:Microphone;
        public var pub_nc:NetConnection;
        public var pub_ns:NetStream;
        public var max:Number;
        public var counter:Number;
        private var streamingURL:String = &quot;rtmp://wdash.iobb.net/oflaDemo&quot;;
        public function initCamera():void {
          publishVideo();
        }
        public function publishVideo():void{
          myMic = Microphone.getMicrophone();

          if (myMic!=null) {
            //ローカルスピーカーへのマイク音送信
            myMic.setLoopBack(true);
            //エコー抑制機能の使用
            myMic.setUseEchoSuppression(true);
            togle=0;
            myMic.gain= 50;
            //タイマーの追加
            timer=new Timer(20,0);
            timer.addEventListener(TimerEvent.TIMER,onTick);
            timer.start();
          }
          pub_nc = new NetConnection();
          pub_nc.client = new CustomClient();
          pub_nc.addEventListener(NetStatusEvent.NET_STATUS,pub_netStatus);
          pub_nc.connect(streamingURL);
          max = 1;
          counter = 0;

          RateLabel.text=&quot;Rate:&quot;+ String(myMic.rate);
          MicrophoneNameLabel.text = &quot;Mic:&quot;+ String(myMic.name);
        }
        private function pub_netStatus(event:NetStatusEvent):void {
          if (event.info.code == &quot;NetConnection.Connect.Success&quot;) {
            pub_ns = new NetStream(pub_nc);
            pub_ns.attachAudio(myMic);
            pub_ns.publish(&quot;demo&quot;,&quot;live&quot;);
          } else{
            trace(&quot;error&quot;);
          }
        }
        //タイマーリスナー
        public function onTick(event:TimerEvent):void {
          var g:Graphics = this.graphics;
          var temp:Number = myMic.activityLevel;
          var temp2:Number;
          LevelLabel.text= &quot;Level:&quot;+String(temp);
          var fillType:String = GradientType.LINEAR;
          var colors:Array = [0x00FF00,0xFF0000];
          var alphas:Array = [1, 1];
          var ratios:Array = [0x00, 0xFF];
          var matr:Matrix = new Matrix();
          matr.createGradientBox(40, 25, -90*Math.PI/180, 0, 0);
          var spreadMethod:String = SpreadMethod.PAD;
          myVid.graphics.clear();
          myVid.graphics.beginGradientFill(fillType, colors, alphas, ratios, matr, spreadMethod);
          myVid.graphics.drawRect(0,100,15,-temp);
               if(max &lt; temp){
            max = temp;
            MaxLevelLabel.text=&quot;Max:&quot;+ String(temp);
          }
          // 四角を描く
          myVid.graphics.drawRect(0,100-max-5,15,5);
          counter++;
          if(counter &gt; 100){
            max = 0;
            MaxLevelLabel.text=&quot;Max:&quot;+ String(temp);
            counter = 0;
          }
        }

        private function sliderChange(event:SliderEvent):void {
          var currentSlider:Slider=Slider(event.currentTarget);
          if(currentSlider.id == &quot;SSlider&quot;){
              myMic.gain= currentSlider.value;
          }
          else{
          }
        }
        private function LocalSpeakerChange():void {
          if(LocalSpeaker.selected){
            myMic.setLoopBack(true);
          }else{
            myMic.setLoopBack(false);
          }
        }
        private function EchoChange():void {
          if(Echo.selected){
            myMic.setUseEchoSuppression(true);
            togle=0;
          }else{
            myMic.setUseEchoSuppression(false);
            togle=0;
          }
        }
        public function handleClick():void {
          SSlider.value=1;
          LocalSpeaker.selected = true;
          Echo.selected = true;
          myMic.setLoopBack(true);
          myMic.setUseEchoSuppression(true);
          myMic.rate=8;
          togle=0;
        }
        public function RateChange(event:ItemClickEvent):void {
          if(event.currentTarget.selectedValue == &quot;5&quot;){
              myMic.rate= 5;
          }
          else if(event.currentTarget.selectedValue == &quot;8&quot;){
              myMic.rate= 8;
          }
          else if(event.currentTarget.selectedValue == &quot;11&quot;){
              myMic.rate= 11;
          }
          else if(event.currentTarget.selectedValue == &quot;22&quot;){
              myMic.rate= 22;
          }
          else if(event.currentTarget.selectedValue == &quot;44&quot;){
              myMic.rate= 44;
          }else{
          }
          RateLabel.text=&quot;Rate:&quot;+ String(myMic.rate);
        }
        ]]&gt;
    &lt;/mx:Script&gt;
  


&lt;mx:HBox borderStyle=&quot;solid&quot; paddingTop=&quot;10&quot; paddingBottom=&quot;10&quot; paddingLeft=&quot;10&quot; paddingRight=&quot;10&quot;&gt;
    &lt;mx:VBox borderStyle=&quot;solid&quot; paddingTop=&quot;10&quot; paddingBottom=&quot;10&quot; paddingLeft=&quot;10&quot; paddingRight=&quot;10&quot;&gt;
        &lt;mx:Label id=&quot;MicrophoneNameLabel&quot; text=&quot;Mic:&quot; x=&quot;10&quot; y=&quot;10&quot; width=&quot;150&quot; /&gt;
        &lt;mx:Label id=&quot;RateLabel&quot; text=&quot;Rate:&quot; x=&quot;10&quot; y=&quot;10&quot; width=&quot;150&quot; /&gt;
        &lt;mx:Label id=&quot;LevelLabel&quot; text=&quot;Level:0&quot; x=&quot;10&quot; y=&quot;10&quot; width=&quot;150&quot; /&gt;
        &lt;mx:Label id=&quot;MaxLevelLabel&quot; text=&quot;Max:0&quot; x=&quot;10&quot; y=&quot;10&quot; width=&quot;150&quot; /&gt;
        &lt;mx:Canvas id=&quot;myVid&quot; width=&quot;100&quot; height=&quot;100&quot; creationComplete=&quot;initCamera();&quot;/&gt;
        
        &lt;mx:Button id=&quot;button1&quot; label=&quot;reset&quot; width=&quot;150&quot; fontSize=&quot;12&quot; click=&quot;handleClick();&quot;/&gt;
    &lt;/mx:VBox&gt;
   &lt;mx:VBox borderStyle=&quot;solid&quot; paddingTop=&quot;10&quot; paddingBottom=&quot;10&quot; paddingLeft=&quot;10&quot; paddingRight=&quot;10&quot;&gt;
      &lt;mx:Label id=&quot;SSLabel&quot; text=&quot;Microphone gain:{SSlider.value}&quot; x=&quot;10&quot; y=&quot;138&quot;/&gt;&lt;mx:HSlider id=&quot;SSlider&quot; change=&quot;sliderChange(event);&quot;  liveDragging=&quot;true&quot; tickInterval=&quot;10&quot; snapInterval=&quot;1&quot;  x=&quot;164&quot; y=&quot;10&quot; height=&quot;10&quot; maximum=&quot;100&quot; value=&quot;50&quot; /&gt;
      &lt;mx:CheckBox id=&quot;LocalSpeaker&quot; change=&quot;LocalSpeakerChange();&quot; width=&quot;150&quot; label=&quot;Local Speaker on or off?&quot; selected=&quot;true&quot;/&gt;
      &lt;mx:CheckBox id=&quot;Echo&quot; width=&quot;150&quot;  change=&quot;EchoChange();&quot; label=&quot;Echo gain&quot; selected=&quot;true&quot;/&gt;
    &lt;mx:RadioButtonGroup id=&quot;rate&quot; itemClick=&quot;RateChange(event);&quot; /&gt;
    &lt;mx:VBox borderStyle=&quot;solid&quot; paddingTop=&quot;10&quot; paddingBottom=&quot;10&quot; paddingLeft=&quot;10&quot; paddingRight=&quot;10&quot;&gt;
      &lt;mx:Label id=&quot;rateBLabel&quot; text=&quot;Sampling mode.&quot; x=&quot;10&quot; y=&quot;10&quot;/&gt;
      &lt;mx:RadioButton groupName=&quot;rate&quot; id=&quot;rate5&quot; value=&quot;5&quot; label=&quot;5kHz&quot; width=&quot;150&quot;/&gt;
      &lt;mx:RadioButton groupName=&quot;rate&quot; id=&quot;rate8&quot; value=&quot;8&quot; label=&quot;8kHz&quot; width=&quot;150&quot; selected=&quot;true&quot;/&gt;
      &lt;mx:RadioButton groupName=&quot;rate&quot; id=&quot;rate11&quot; value=&quot;11&quot; label=&quot;11kHz&quot; width=&quot;150&quot;/&gt;
      &lt;mx:RadioButton groupName=&quot;rate&quot; id=&quot;rate22&quot; value=&quot;22&quot; label=&quot;22kHz&quot; width=&quot;150&quot;/&gt;
      &lt;mx:RadioButton groupName=&quot;rate&quot; id=&quot;rate44&quot; value=&quot;44&quot; label=&quot;44kHz&quot; width=&quot;150&quot;/&gt;
    &lt;/mx:VBox&gt;
   &lt;/mx:VBox&gt;
&lt;/mx:HBox&gt;
&lt;/mx:VBox&gt;
&lt;/mx:TabNavigator&gt;
&lt;/mx:Application&gt;</pre></div></div>
]]></content:encoded>
			<wfw:commentRss>http://wdash.net/?feed=rss2&amp;p=235</wfw:commentRss>
		</item>
		<item>
		<title>The live streaming video with parameters controller.</title>
		<link>http://wdash.net/?p=219</link>
		<comments>http://wdash.net/?p=219#comments</comments>
		<pubDate>Wed, 21 Jan 2009 06:02:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Showcase]]></category>

		<guid isPermaLink="false">http://wdash.net/?p=219</guid>
		<description><![CDATA[In this showcase, I made the controller for the streaming live Flash. You can change the parameters by the some slider bars.
If you want to know mean the parameters, Please read this page.
showcase_1.swf

If you want to show from the client, You should open here.(There is a streaming live Flash video viewer on this web page.)
&#60;!-- [...]]]></description>
			<content:encoded><![CDATA[<p>In this showcase, I made the controller for the streaming live Flash. You can change the parameters by the some slider bars.<br />
If you want to know mean the parameters, Please read <a href="http://wdash.net/?p=203" target="_blank">this page</a>.<span id="more-219"></span></p>
<p>showcase_1.swf<br />
<object width="650" height="400" data="/wp-content/showcase_1.swf" type="application/x-shockwave-flash"><param name="src" value="/wp-content/showcase_1.swf" /></object><br />
If you want to show from the client, You should open <a href="http://wdash.net/?p=97" target="_blank">here</a>.(There is a streaming live Flash video viewer on this web page.)</p>
<div class="hl-surround" style="height:280px;"><div class="hl-main"><pre>&lt;!-- containersnavigatorsTNSimple.mxml --&gt;
width=&quot;550&quot; height=&quot;300&quot;&amp;gt;
&lt;!-- Accounts view goes here. --&gt;
&lt;![CDATA[
import flash.media.Video;
import flash.media.Camera;
import flash.media.Microphone;
import flash.media.Video;
import flash.net.NetConnection;
import flash.net.NetStream;
import flash.events.*;
import mx.events.SliderEvent;
import mx.controls.sliderClasses.Slider;

public var myCamera:Camera;
public var myMic:Microphone;
public var pub_nc:NetConnection;
public var pub_ns:NetStream;
private var streamingURL:String = &quot;rtmp://wdash.iobb.net/oflaDemo&quot;;
public function initCamera():void {
publishVideo();
myVid.attachCamera(myCamera);
}
public function publishVideo():void{
myCamera = Camera.getCamera();
myMic = Microphone.getMicrophone();
pub_nc = new NetConnection();
pub_nc.client = new CustomClient();
pub_nc.addEventListener(NetStatusEvent.NET_STATUS,pub_netStatus);
pub_nc.connect(streamingURL);
}
private function pub_netStatus(event:NetStatusEvent):void {
if (event.info.code == &quot;NetConnection.Connect.Success&quot;) {
pub_ns = new NetStream(pub_nc);
pub_ns.attachAudio(myMic);
pub_ns.attachCamera(myCamera);
pub_ns.publish(&quot;demo&quot;,&quot;live&quot;);
} else{
trace(&quot;error&quot;);
}
}
private function sliderChange(event:SliderEvent):void {
var currentSlider:Slider=Slider(event.currentTarget);
text1.text=currentSlider.id + &quot; = &quot; + String(currentSlider.value);
if(currentSlider.id == &quot;SSlider&quot;){
}
else if(currentSlider.id == &quot;FSlider&quot;){
myCamera.setMode(320,240,FSlider.value);
}
else if(currentSlider.id == &quot;QSlider&quot;){
myCamera.setQuality(BSlider.value,QSlider.value);
}
else if(currentSlider.id == &quot;BSlider&quot;){
myCamera.setQuality(BSlider.value,QSlider.value);
}
else{
}
}
public function handleClick():void {
SSlider.value = 1;
FSlider.value = 15;
QSlider.value = 0;
BSlider.value = 16384;
myCamera.setMode(320,240,FSlider.value);
myCamera.setQuality(BSlider.value,QSlider.value);
}
]]&gt;</pre></div></div>
]]></content:encoded>
			<wfw:commentRss>http://wdash.net/?feed=rss2&amp;p=219</wfw:commentRss>
		</item>
		<item>
		<title>The flash camera object property controller</title>
		<link>http://wdash.net/?p=203</link>
		<comments>http://wdash.net/?p=203#comments</comments>
		<pubDate>Tue, 20 Jan 2009 06:00:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[FlexSDK3 Programming]]></category>

		<guid isPermaLink="false">http://wdash.net/?p=203</guid>
		<description><![CDATA[I tried it that is set the parameters in the flash camera object.
The method

get()
Get the camera object.
theCamera = Camera.get();
camera1 = Camera.get(0);
camera2 = Camera.get(1);

setKeyFameInterval()
Set the Interval Key frame. The default value is &#8220;15&#8243;. We can set from 1 to 48.  If set value is large, the key fame intarval is long, and the data is smaller.
theCamera.setKeyFrameInterval(10);

setMethod()
This [...]]]></description>
			<content:encoded><![CDATA[<p>I tried it that is set the parameters in the flash camera object.</p>
<p><em>The method</em></p>
<ul>
<li>get()<br />
Get the camera object.</p>
<div class="hl-surround" ><div class="hl-main"><pre>theCamera = Camera.get();
camera1 = Camera.get(0);
camera2 = Camera.get(1);</pre></div></div>
</li>
<li>setKeyFameInterval()<br />
Set the Interval Key frame. The default value is &#8220;15&#8243;. We can set from 1 to 48.  If set value is large, the key fame intarval is long, and the data is smaller.</p>
<div class="hl-surround" style="height:28px;"><div class="hl-main"><pre>theCamera.setKeyFrameInterval(10);</pre></div></div>
</li>
<li>setMethod()<br />
This method is setting all of parameter for the camera object. there are the  capturing  format that are  &#8220;width&#8221;, &#8220;heght&#8221; and &#8220;fps&#8221;.  We can  give priority to either size or fps.</p>
<div class="hl-surround" ><div class="hl-main"><pre>theCamera.setMethode(320,240,12);
theCamera.setMethod(320,240.false);</pre></div></div>
<p>If you want to get the parameters , you should access the public value.</p>
<div class="hl-surround" style="height:28px;"><div class="hl-main"><pre>theCamera.width;</pre></div></div>
</li>
<li>setQuality<br />
give quality to the video. The quality parameters are bandwidth  and the picture quality.<br />
The default value for bandwidth is &#8220;16384&#8243;. And the picture quality is from 0 to 100. Of course　It affects it each other.</p>
<div class="hl-surround" ><div class="hl-main"><pre>theCamera.setQuality(8192, 0) //Bandwidth priority;
theCamera.setQuality(0, 80)　//Picture priority;
theCamera.setQuality(8192, 50); //Adjust  at a frame rate</pre></div></div>
</li>
<li>setLoopback<br />
Confirm a delivery picture in a local view.</p>
<div class="hl-surround" ><div class="hl-main"><pre>theCamera = Camera.get();
theCamera.setQuality(0, 50);
theCamera.setLoopback(true);
theVideo.attachVideko(theCamera);</pre></div></div>
</li>
<li>setMotionLevel()<br />
I don&#8217;t know that must be use. If you want to get the activation message from camera, you should use this.</p>
<div class="hl-surround" ><div class="hl-main"><pre>theCamera.setMotionLevel(10,1000);
theCamera.onActivity = function(bActive){
if(bActive){
trace(&quot;The camera is Active!&quot;);
}else{
trace(&quot;The camera is not  active&quot;)
}
};</pre></div></div>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://wdash.net/?feed=rss2&amp;p=203</wfw:commentRss>
		</item>
		<item>
		<title>The Ecommerce ASP service</title>
		<link>http://wdash.net/?p=188</link>
		<comments>http://wdash.net/?p=188#comments</comments>
		<pubDate>Mon, 19 Jan 2009 07:55:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[ASP]]></category>

		<guid isPermaLink="false">http://wdash.net/?p=188</guid>
		<description><![CDATA[I want to use ASP for the settlement of the shop.
The settlement service which is famous in Japan is &#8220;http://estore.co.jp/&#8221;. In the site, a function of the credit card settlement and the convenience store settlement is substantial. The payment of moon is 50 dollars. I can use settlement service and a shopping cart and inventory [...]]]></description>
			<content:encoded><![CDATA[<p>I want to use ASP for the settlement of the shop.<br />
The settlement service which is famous in Japan is &#8220;http://estore.co.jp/&#8221;. In the site, a function of the credit card settlement and the convenience store settlement is substantial. The payment of moon is 50 dollars. I can use settlement service and a shopping cart and inventory control service.<br />
<a href="http://estore.co.jp/index.html" target="_blank">http://estore.co.jp/index.html</a></p>
<p><img  src="http://shopserve.jp/about/img/about03_icon01.gif" alt="" width="114" height="105" /><img  src="http://shopserve.jp/about/img/about03_icon02.gif" alt="" width="114" height="105" /><img  src="http://shopserve.jp/about/img/about03_icon03.gif" alt="" width="114" height="105" /><img src="http://shopserve.jp/about/img/about03_icon04.gif" alt="" width="114" height="105" /></p>
]]></content:encoded>
			<wfw:commentRss>http://wdash.net/?feed=rss2&amp;p=188</wfw:commentRss>
		</item>
		<item>
		<title>The simple Tab panel on the Flex3</title>
		<link>http://wdash.net/?p=180</link>
		<comments>http://wdash.net/?p=180#comments</comments>
		<pubDate>Mon, 19 Jan 2009 05:59:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[FlexSDK3 Programming]]></category>

		<guid isPermaLink="false">http://wdash.net/?p=180</guid>
		<description><![CDATA[The Tab panel example for Flex3 application menubar.

&#60;?xml version=&#34;1.0&#34;?&#62;
&#60;!-- containersnavigatorsTNSimple.mxml --&#62;
&#60;mx:Application xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34;&#62;
&#60;mx:TabNavigator borderStyle=&#34;solid&#34; &#62;
&#60;mx:VBox label=&#34;Accounts&#34; width=&#34;300&#34; height=&#34;150&#34;&#62;
&#60;!-- Accounts view goes here. --&#62;
&#60;/mx:VBox&#62;
&#60;mx:VBox label=&#34;Stocks&#34; width=&#34;300&#34; height=&#34;150&#34;&#62;
&#60;!-- Stocks view goes here. --&#62;
&#60;/mx:VBox&#62;
&#60;mx:VBox label=&#34;Futures&#34; width=&#34;300&#34; height=&#34;150&#34;&#62;
&#60;!-- Futures view goes here. --&#62;
&#60;/mx:VBox&#62;
&#60;/mx:TabNavigator&#62;
&#60;/mx:Application&#62;
The code was written by Adobe Flex documentation. The original code is here.
http://livedocs.adobe.com/flex/3_jp/devguide_flex3.pdf
Flex compile.
[root@hostname ~]# mxmlc myTab.mxml
Open the [...]]]></description>
			<content:encoded><![CDATA[<p>The Tab panel example for Flex3 application menubar.<br />
<object width="400" height="240" data="/wp-content/myTab.swf" type="application/x-shockwave-flash"><param name="src" value="/wp-content/myTab.swf" /></object></p>
<div class="hl-surround" ><div class="hl-main"><pre>&lt;?xml version=&quot;1.0&quot;?&gt;
&lt;!-- containersnavigatorsTNSimple.mxml --&gt;
&lt;mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot;&gt;
&lt;mx:TabNavigator borderStyle=&quot;solid&quot; &gt;
&lt;mx:VBox label=&quot;Accounts&quot; width=&quot;300&quot; height=&quot;150&quot;&gt;
&lt;!-- Accounts view goes here. --&gt;
&lt;/mx:VBox&gt;
&lt;mx:VBox label=&quot;Stocks&quot; width=&quot;300&quot; height=&quot;150&quot;&gt;
&lt;!-- Stocks view goes here. --&gt;
&lt;/mx:VBox&gt;
&lt;mx:VBox label=&quot;Futures&quot; width=&quot;300&quot; height=&quot;150&quot;&gt;
&lt;!-- Futures view goes here. --&gt;
&lt;/mx:VBox&gt;
&lt;/mx:TabNavigator&gt;
&lt;/mx:Application&gt;</pre></div></div>
<p>The code was written by Adobe Flex documentation. The original code is here.<br />
<a href="http://livedocs.adobe.com/flex/3_jp/devguide_flex3.pdf" target="_blank">http://livedocs.adobe.com/flex/3_jp/devguide_flex3.pdf</a></p>
<p>Flex compile.</p>
<p>[root@hostname ~]# mxmlc myTab.mxml</p>
<p>Open the myTab.swf by web browser.</p>
]]></content:encoded>
			<wfw:commentRss>http://wdash.net/?feed=rss2&amp;p=180</wfw:commentRss>
		</item>
	</channel>
</rss>
