Sorry for some reason the actual script got pulled out.  Sigh.  I just didn't
pay attention.  Sorry

<fx:Script>
        import org.apache.royale.events.Event;
        import org.apache.royale.events.MouseEvent;
        import org.apache.royale.jewel.Alert;
        import org.apache.royale.net.HTTPConstants;
        import org.apache.royale.net.HTTPService;
        import org.apache.royale.net.URLVariables;
        
        public var daveservice:HTTPService = new HTTPService();
        
        private function resultCallback(event:Event):void{
                Alert.show("STATUS: " + daveservice.json.STATUS, "json data 
retrieved");
                Alert.show("string format: " + daveservice.data, "what");
                Alert.show("MDL_CONCAT: 
"+daveservice.json.PROGRAMS[1].MDL_CONCAT, "json
data retrieved");
        }

        public function getCfcStoredProcContent(event:Event):void{
                daveservice.url =
"/MIS_Lists.cfc?method=websitelistspkg_TailnumberList_json";
                daveservice.method = HTTPConstants.GET;
                daveservice.addEventListener("complete", resultCallback);
                daveservice.send();     
        }
</fx:Script>




--
Sent from: http://apache-royale-users.20374.n8.nabble.com/

Reply via email to