I'm trying to access LoadInfo for an application, I've tried it in numerous
spots, and am now just trying a simple example::

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"; layout="absolute"
    creationComplete="init()">

    <mx:Script>
        <![CDATA[
            import mx.core.Application;
            private function init():void
            {
                trace(Application.application.loaderInfo);
            }
        ]]>
    </mx:Script>
</mx:Application>

it's tracing as null. Is this how it's intended to be used? I also run the
swf on localhost.

Overall I'm trying to get the URL the swf is running on.

Thanks

Reply via email to