Development Flex



    xmlns:mx="library://ns.adobe.com/flex/mx"
    xmlns:s="library://ns.adobe.com/flex/spark" creationComplete="initApp()">
    
         
        import flash.external.*; 
        public function initApp():void { 
            ExternalInterface.addCallback("myFlexFunction",myFunc); 
        } 
        public function myFunc(s:String):void { 
            l1.text = s; 
        }