1 Reply Latest reply on Jul 13, 2011 9:30 AM by Shongrunden

    Is it possible to apply transitions to windowedApplication?

    flexillu10 Level 1

      Yes or no?

      Do they work the same as transitions on components?

       

      <s:WindowedApplication xmlns:fx="http://ns.adobe.com/mxml/2009" 
                       xmlns:s="library://ns.adobe.com/flex/spark" 
                       xmlns:mx="library://ns.adobe.com/flex/mx"
      
                       currentState="State1">
      
      
      <s:transitions>
           <s:Transition fromState="State1" toState="State2">
                <s:Resize target="{this}" widthTo="400" duration="300"/>
           </s:Transition>
      </s:transitions>
      
      
      

       

      Shouldn't this work when i change state?