<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
layout="absolute"
backgroundAlpha="1"
xmlns:objecthandles="com.roguedevelopment.objecthandles.*"
xmlns:degrafa="com.degrafa.*"
xmlns:paint="com.degrafa.paint.*"
xmlns:geometry="com.degrafa.geometry.*"
viewSourceURL="srcview/index.html"
xmlns:degrafa1="http://www.degrafa.com/2007"
creationComplete="init()"
backgroundColor="#343434"
xmlns:shapes="com.roguedevelopment.flowchart.shapes.*" xmlns:flowchart="com.roguedevelopment.flowchart.*">
<mx:Script>
<![CDATA[
import com.roguedevelopment.flowchart.shapes.Cross;
import com.roguedevelopment.flowchart.shapes.TriangleOne;
import com.roguedevelopment.flowchart.shapes.RoundRect4;
import com.roguedevelopment.flowchart.shapes.RoundRect3;
import com.roguedevelopment.flowchart.shapes.RoundRect2;
import com.roguedevelopment.flowchart.shapes.RoundRect1;
import com.roguedevelopment.flowchart.shapes.CircleShape;
import com.roguedevelopment.flowchart.shapes.SquareShape;
import com.roguedevelopment.flowchart.ObjectSource;
protected function init() : void
{
var source:ObjectSource = new ObjectSource(
new ClassFactory( com.roguedevelopment.flowchart.shapes.SquareShape),
mainCanvas,
new Point(30,20) );
source = new ObjectSource( new ClassFactory( com.roguedevelopment.flowchart.shapes.CircleShape),
mainCanvas,
new Point(90,20) );
source = new ObjectSource(
new ClassFactory( com.roguedevelopment.flowchart.shapes.RoundRect1),
mainCanvas,
new Point(30,80) );
source = new ObjectSource( new ClassFactory( com.roguedevelopment.flowchart.shapes.RoundRect2),
mainCanvas,
new Point(90,80) );
source = new ObjectSource( new ClassFactory( com.roguedevelopment.flowchart.shapes.RoundRect3),
mainCanvas,
new Point(30,140) );
source = new ObjectSource( new ClassFactory( com.roguedevelopment.flowchart.shapes.RoundRect4),
mainCanvas,
new Point(90,140) );
source = new ObjectSource( new ClassFactory( com.roguedevelopment.flowchart.shapes.TriangleOne),
mainCanvas,
new Point(30,200) );
source = new ObjectSource( new ClassFactory( com.roguedevelopment.flowchart.shapes.Cross),
mainCanvas,
new Point(90,200) );
}
]]>
</mx:Script>
<degrafa:Surface width="100%" top="0" bottom="50">
<degrafa:fills>
<paint:LinearGradientFill id="blueGradient" angle="90">
<paint:GradientStop alpha="1" color="#050952"/>
<paint:GradientStop alpha="1" color="#080e87"/>
</paint:LinearGradientFill>
</degrafa:fills>
<degrafa:strokes>
<paint:SolidStroke id="grey" color="#555555" alpha="1" weight="2" pixelHinting="true"/>
<paint:SolidStroke id="thinGrey" color="#555555" alpha="0.5" weight="1" pixelHinting="true"/>
</degrafa:strokes>
<degrafa:GeometryGroup>
<geometry:RoundedRectangleComplex fill="{blueGradient}"
stroke="{grey}"
height="{height-60}"
x="5"
y="5"
width="200"
bottomLeftRadius="0"
bottomRightRadius="20"
topLeftRadius="0"
topRightRadius="20"
/>
<geometry:RegularRectangle fill="{blueGradient}"
x="210"
y="5"
stroke="{grey}"
height="{height-60}"
width="{width-220}"
/>
<degrafa1:VerticalLineRepeater
count="{(width-220) / 25}"
stroke="{thinGrey}"
x="225"
y="7"
y1="{height-55}"
offsetX="0"
offsetY="0"
moveOffsetX="25"
moveOffsetY="0"/>
<degrafa1:HorizontalLineRepeater
count="{(height-70) / 25}"
stroke="{thinGrey}"
x="210"
y="30"
x1="{width-10}"
offsetX="0"
offsetY="0"
moveOffsetX="0"
moveOffsetY="25"/>
</degrafa:GeometryGroup>
</degrafa:Surface>
<objecthandles:ObjectHandlesCanvas autoLayout="false" width="100%" height="100%" id="mainCanvas" >
</objecthandles:ObjectHandlesCanvas>
<flowchart:Toolbar x="10" bottom="0"/>
</mx:Application>