<?xml version="1.0" encoding="utf-8"?>

<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" 
    xmlns:comp="components.*"
    layout="absolute"
    creationComplete="init()" backgroundGradientAlphas="[1.0, 1.0]" 
    backgroundGradientColors="[#000000, #0D0D0D]" viewSourceURL="srcview/index.html">

    <mx:Script>
        <![CDATA[
            import classes.Earth3DScript;
            private var pv3D:Earth3DScript = new Earth3DScript();

            private function init():void {
                myPV3dClass.addChild(pv3D);

            }

        ]]>
    </mx:Script>

    <mx:UIComponent id="myPV3dClass" />
</mx:Application>