flash

Learning action script with Flex and Flare

Hi there, currently, I’m learning action script with flex and implement the flare wonderful API for web based flash visualization.

Below are the example creating simple flash for “Hello World”

package
{
import flash.display.Sprite;
import flash.text.TextField;

//specify width, height,color and frame rate for the flash presentation on the web browser.
[SWF(width='800', height='600', backgroundColor='#ffffff', frameRate='30')]
public class HelloWorld extends Sprite
{
public function HelloWorld()
{
var label:TextField = new TextField();
label.text = “Hello World!”; //text file that will be appeared
label.x = 500;//set the x coordinate for words to be appear
label.y = 40;//set the y coordinate for words to be appear
this.addChild( label );
}
}
}

helloworld

To learn flare, go to this site http://flare.prefuse.org/ . They provide tutorials and the visualization effects are wonderful. In the website, they will list down all of the important tools, and steps to start with flare. For example, I’m using Adobe Flex Builder 3 to develop my project on top of windows. It can also be done on gnu/linux platform as a plugin/add-on for eclipse (if i’m not mistaken). Flare is open-source software released under a BSD license , created by Jeffrey Michael Heer http://hci.stanford.edu/jheer/bio/ .

Below are the sample of screen shots for my project that I’m doing right now:

simplegraph

circlenodecirclelayout2 - Copy

This is still not fully functioning if I must say.. I just managed to transfer the value/data from the output of the ruby pcap, nothing much.. the next step is to build a relationship/connectivity between the nodes.. seems gonna take much time for newbie like me to settle this… any update will be posted soon.

By salawank on November 17, 2009 | Uncategorized | 4 comments
Tags: , , ,

Flare – Flex Data Visualization

This is simple visualization that has been edited/customized from the flare.prefuse.org website.

The idea is I want to classify each nodes to be represented as a host, and its network connection between one another.. I’m still working on this..

The link for result.txt is on my local server.. so there will be popup error for that. This is still gonna take a long time to finish..Any help/suggestion would be great. Email me :)

Ip nodes

flare-nodes

By salawank on November 3, 2009 | Uncategorized | A comment?
Tags: , ,

10 visitors online now
10 guests, 0 members
Max visitors today: 10 at 11:17 am GMT-8
This month: 10 at 09-09-2010 11:17 am GMT-8
This year: 21 at 03-24-2010 06:49 pm GMT-8
All time: 43 at 10-20-2009 08:17 am GMT-8

salawank is Digg proof thanks to caching by WP Super Cache