Last active
December 25, 2017 22:33
-
-
Save olafkrueger/f521e91fe95bf5b3b03eddcc48e87f40 to your computer and use it in GitHub Desktop.
States doesn't work for me...
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"?> | |
<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009" | |
xmlns:js="library://ns.apache.org/royale/basic" | |
xmlns:local="*" | |
pageTitle="HelloWorld"> | |
<js:valuesImpl> | |
<js:SimpleCSSValuesImpl /> | |
</js:valuesImpl> | |
<js:initialView> | |
<js:View id="myView" width="100%" height="100%" currentState="default"> | |
<js:states> | |
<js:State name="default"/> | |
<js:State name="busy"/> | |
</js:states> | |
<js:TextButton id="txtBtn" text.default="Hello World" text.busy="Busy... just for you" width="200" height="50" click="{myView.currentState='busy'}" /> | |
</js:View> | |
</js:initialView> | |
</js:Application> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment