>>Japanese
Actually,I wanted to write that memo of the control dynamic command at Progression Frameworks.
But I had error that I cannot resolve.
This code is….
package
{
import flash.display.Sprite;
import flash.events.MouseEvent;
import jp.progression.commands.*;
import jp.progression.core.commands.Command;
import jp.progression.events.CommandEvent;
/**
* ...
* @author Shunsuke Ohba
*/
public class CancelCommand extends Sprite
{
private var _list:SerialList;
public function CancelCommand()
{
_list = new SerialList(null,
new Trace("Command1", { id:"id_Trace1" } ),
new Wait(5000,{id:"wait1"}),
new Trace("Command2", { id:"id_Trace2" } ),
new Wait(2000,{id:"wait2"}),
new Trace("Command3", { id:"id_Trace3" } )
);
stage.addEventListener(MouseEvent.MOUSE_DOWN, function(e:MouseEvent):void
{
if (_list.getCommandById("wait1").running) {
var command:Command = _list.getCommandById("wait1");
command.addEventListener(CommandEvent.COMMAND_COMPLETE, function(e:CommandEvent):void
{
_list.interrupt(true);
trace("interrupt Command");
});
}
});
_list.execute();
}
}
}
I wanted to interrupt the command after the WaitCommand was completed when stage was clicked at runnning “WaitCommand(id:wait1)”.Because I wanted to operate a command dynamically sometime soon.
I thought that command would interrupt when stage was clicked at runnning “WaitCommand(id:wait1)”.
Output is…
Command1 Command2 interrupt Command
Ummmm…
I cannot resolve that why do “Command2″ execute.
[postscript--June.19.2009]
I posted Progression forum.
>>post
[postscript--June.19.2009]
This probrem is resolved by flabaka.
>>post
It was resolved by using “InsertCommand” before “WaitCommand” was completed.
I want to write down so I have great time loss at set up shadowbox.
I couldn’t show swf.
I use only Shadowbox but other library jquery , prototype.
<link rel='stylesheet' href='shadowbox.css' /> <script type='text/javascript' src='shadowbox.js'></script>
It refer the pass of css and javascript.
<script type="text/javascript">
Shadowbox.init
({
language: "en",
players: ["swf","img"]
});
</script>
Initialize Shadowbox.
The point that I have mistake is no write that
players: ["swf","img"]

This post is continuation of the post that僕が見ても似ていませんでした。 | ReInit_creative Log.
3D model that my face was dead , when I wrote that post. Becase it couldn’t move.
Actually I wanted to blink eye , mumble.But I couldn’t.
I write the post it , so I could do that.demo
I couldn’t move arbitrarily vertex point when previous post.
Because “MophMixer” that Lightwave function has moving vertex point arbitrarily couldn’t use at Papervision3D.
Now I used the function “Bone”.
But it haves problem. It only used 100% value of Weight map.
Weight map is Bone’s strong each vertex point.I couldn’t move arbitrarily by 1~2 bone at first , because I couldn’t do fine adjustment.
So I used many bone.
Eye and mouth is split polygon. They are not merge polygon.
Because Collada format has only two function “play” and “stop”.It need to that each move.
3D model splits each animation parts at Lightwave3D.
It merge Split parts at Papervision3D.
In the concrete, eye and mouth of Collada instance do “addChild” to a DisplayObject3D instance.
The difficult is fix of bone position and number of it.
I can see fun of thing that 3D and Interactive, and I want to seek of funny expression more and more.


