Skip to content

Instantly share code, notes, and snippets.

@bsideup
Created November 4, 2012 21:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bsideup/4013873 to your computer and use it in GitHub Desktop.
Save bsideup/4013873 to your computer and use it in GitHub Desktop.
ViewExample
<?xml version="1.0"?>
<gui:ContainerBase xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:gui="http://www.trylogic.ru/gui"
xmlns:trylogic="http://www.trylogic.ru/"
xmlns:s="library://ns.adobe.com/flex/spark">
<gui:controllerClass>ru.trylogic.dummy.views.dummyApplicationView.DummyApplicationViewController</gui:controllerClass>
<gui:eventMaps>
<trylogic:EventMap source="{myButton}" type="tap" destination="{new Event('myButtonTapped')}" />
</gui:eventMaps>
<gui:states>
<s:State id="defaultState" name="default" />
<s:State id="anotherState" name="another" />
</gui:states>
<gui:Button id="myButton" x="100" y="100" y.another="200" />
</gui:ContainerBase>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment