2 Replies Latest reply on Apr 6, 2010 3:11 AM by home_aidan

    Whats the equivalent of Strong.easeOut in flex?

    home_aidan Level 1

      Hi,

      I'm messing around with tweens in flex,

      I can get Bounce.easeout and elastic.easeOut. But if i try to use Strong/Regular I get undefined property.

       

      Does anyone know what I could use instead?

       

       

      Also does anyone know how to trigger two effects at the same time? say "move" and zoom"

       

       

      I tried the below, by triggering both using action code but it doesnt seem to work.

       

      tar

      Aidan

       

      <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical" verticalAlign="middle" backgroundColor="white">
      
          <mx:Script>
              <![CDATA[
                  import mx.effects.easing.*;
                  
                  public function testfunc():void{
                          zoomer.play()
                          mover.play()
                  }
              ]]>
          </mx:Script>
          
          <!-- Set zoom effect for 2.5 seconds (2500 milliseconds) and use the Elastic.easeOut easing method. -->
          <mx:Zoom id="zoomer" duration="2500" easingFunction="Bounce.easeOut" target="{img}" />
          <mx:Move id="mover"  duration="5000" xFrom="0" xTo="200" easingFunction="Regular.easeOut" target="{img}"/>
          <mx:Image id="img" source="olga.JPG" x="73" y="58" rotation="5" click="{testfunc()}"/>   
      </mx:Application>