<?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.AddingPoints; import flash.display.Stage; private var o:AddingPoints = new AddingPoints(); private var UIRef:UIComponent = new UIComponent(); private function init():void { addChild(UIRef); UIRef.addChild(o); } ]]> </mx:Script> </mx:Application>