0 Replies Latest reply on May 19, 2008 3:43 AM by tgoodmannz

    Apply transition when Resizing AIR Window Stage

    tgoodmannz
      I am using FLEX and trying to resize the AIR Application's Stage - I have a desk app that I want to expand out when I change state:

      The problem I have is that none of the Transitions I have tried work - it would be nice to gracefully slide down.

      Or maybe I'm doing it wrong???

      [Code]
      <mx:states>
      <mx:State name="normal">
      <mx:SetProperty target="{this.stage.nativeWindow}" name="height" value="84"/>
      </mx:State>
      <mx:State name="expanded">
      <mx:SetProperty target="{this.stage.nativeWindow}" name="height" value="500"/>
      </mx:State>

      </mx:states>
      <mx:transitions>
      <mx:Transition id="transition1"
      fromState="normal" toState="expanded">
      <mx:Parallel targets="{[this.stage.nativeWindow]}">

      <mx:WipeDown duration="2000">

      </mx:WipeDown>
      </mx:Parallel>
      </mx:Transition>
      </mx:transitions>
      [/Code]