Created
October 20, 2011 19:32
-
-
Save bendalton/1302078 to your computer and use it in GitHub Desktop.
HTTPService Example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" | |
xmlns:s="library://ns.adobe.com/flex/spark" | |
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"> | |
<fx:Declarations> | |
<s:HTTPService id="service" url="http://yoururl.com/file/blah" resultFormat="text"/> | |
</fx:Declarations> | |
<s:layout> | |
<s:VerticalLayout/> | |
</s:layout> | |
<s:Label text="Request Result: {service.lastResult}"/> | |
<s:Button label="Test!" click="service.send()"/> | |
</s:Application> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment