<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:cl="clases.*" layout="absolute" 
     backgroundColor="0xffffff" creationComplete="init()" viewSourceURL="srcview/index.html">
    <mx:Script>
        <![CDATA[
            import mx.containers.Canvas;
            import classes.DrawingGradientFills;
            import mx.core.UIComponent;
            import classes.AddingPoints2;
            import flash.display.Stage;

            private var o:AddingPoints2 = new AddingPoints2();
            private var UIRef:UIComponent = new UIComponent();
            
            private function init():void
            {
                addChild(UIRef);
                UIRef.addChild(o);
                instructions.text = "Click on the stage a couple of times to create a new path.\n"
                instructions.text += "Drag an black point to change the path.\n"
                instructions.text += "Drag an light red point to insert a point the path.\n"
                instructions.text += "click on a black point and then click on the DELETE key to delete the point from the path."
            }
            
        ]]>
    </mx:Script>
    
    <mx:Text id="instructions" x="10" y="10" width="350" selectable="false" />
</mx:Application>